Merged in RLVa. Viewer broken!
This commit is contained in:
@@ -106,6 +106,10 @@
|
||||
#include "llfloaterhardwaresettings.h"
|
||||
#endif
|
||||
|
||||
// [RLVa:KB]
|
||||
#include "rlvhandler.h"
|
||||
// [/RLVa:KB]
|
||||
|
||||
#ifdef _DEBUG
|
||||
// Debug indices is disabled for now for debug performance - djs 4/24/02
|
||||
//#define DEBUG_INDICES
|
||||
@@ -1970,8 +1974,13 @@ void LLPipeline::stateSort(LLDrawable* drawablep, LLCamera& camera)
|
||||
|
||||
if (gHideSelectedObjects)
|
||||
{
|
||||
if (drawablep->getVObj().notNull() &&
|
||||
drawablep->getVObj()->isSelected())
|
||||
// if (drawablep->getVObj().notNull() &&
|
||||
// drawablep->getVObj()->isSelected())
|
||||
// [RLVa:KB] - Checked: 2009-10-10 (RLVa-1.0.5a) | Modified: RLVa-1.0.5a
|
||||
LLViewerObject* pObj = drawablep->getVObj();
|
||||
if ( (pObj) && (pObj->isSelected()) &&
|
||||
((!rlv_handler_t::isEnabled()) || (!pObj->isHUDAttachment()) || (!gRlvHandler.isLockedAttachment(pObj, RLV_LOCK_REMOVE))) )
|
||||
// [/RVLa:KB]
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user