Added an experimental new alphamask detection method(set SHUseRMSEAutoMask to TRUE to use. Adjust SHAlphaMaskMaxRMSE to tweak cutoff). Fixed per-frame sky updates hammering analyzeAlpha.
This commit is contained in:
@@ -937,6 +937,8 @@ LLObjectSelectionHandle LLSelectMgr::setHoverObject(LLViewerObject *objectp, S32
|
||||
|
||||
mHoverObjects->mPrimaryObject = objectp;
|
||||
|
||||
LLViewerObject* primary_obj = objectp;
|
||||
|
||||
objectp = objectp->getRootEdit();
|
||||
|
||||
// is the requested object the same as the existing hover object root?
|
||||
@@ -962,6 +964,8 @@ LLObjectSelectionHandle LLSelectMgr::setHoverObject(LLViewerObject *objectp, S32
|
||||
requestObjectPropertiesFamily(objectp);
|
||||
}
|
||||
|
||||
mHoverObjects->mPrimaryObject = primary_obj;
|
||||
|
||||
return mHoverObjects;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user