summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/newview/llpanelobject.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llpanelobject.cpp b/indra/newview/llpanelobject.cpp
index 39d77c630b..314b7bed8f 100644
--- a/indra/newview/llpanelobject.cpp
+++ b/indra/newview/llpanelobject.cpp
@@ -428,17 +428,17 @@ void LLPanelObject::getState( )
// Physics checkbox
mIsPhysical = root_objectp->usePhysics();
mCheckPhysics->set( mIsPhysical );
- mCheckPhysics->setEnabled( roots_selected==1
+ mCheckPhysics->setEnabled( roots_selected>0
&& (editable || gAgent.isGodlike())
&& !is_flexible);
mIsTemporary = root_objectp->flagTemporaryOnRez();
mCheckTemporary->set( mIsTemporary );
- mCheckTemporary->setEnabled( roots_selected==1 && editable );
+ mCheckTemporary->setEnabled( roots_selected>0 && editable );
mIsPhantom = root_objectp->flagPhantom();
mCheckPhantom->set( mIsPhantom );
- mCheckPhantom->setEnabled( roots_selected==1 && editable && !is_flexible );
+ mCheckPhantom->setEnabled( roots_selected>0 && editable && !is_flexible );
#if 0 // 1.9.2
mCastShadows = root_objectp->flagCastShadows();