diff options
author | Todd Stinson <stinson@lindenlab.com> | 2012-03-30 15:42:43 -0700 |
---|---|---|
committer | Todd Stinson <stinson@lindenlab.com> | 2012-03-30 15:42:43 -0700 |
commit | c1a5d6a36b925728d98c37522ed7ae53e3a87155 (patch) | |
tree | f6bb8cff46ade72e57e0a03a5381234db0befc9c /indra/newview/llpanelvolume.cpp | |
parent | fcda925072c51de749e6b35b3863f29d8be3eaa6 (diff) |
PATH-450: Disabling the movement and shape manipulation widgets when editing an item in a linked set.
Diffstat (limited to 'indra/newview/llpanelvolume.cpp')
-rw-r--r-- | indra/newview/llpanelvolume.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanelvolume.cpp b/indra/newview/llpanelvolume.cpp index 80dc2c0013..58c38387c3 100644 --- a/indra/newview/llpanelvolume.cpp +++ b/indra/newview/llpanelvolume.cpp @@ -495,7 +495,7 @@ void LLPanelVolume::getState( ) mComboPhysicsShapeType->add(getString("Convex Hull"), LLSD(2)); mComboPhysicsShapeType->setValue(LLSD(objectp->getPhysicsShapeType())); - mComboPhysicsShapeType->setEnabled(editable && !objectp->isPermanentEnforced()); + mComboPhysicsShapeType->setEnabled(editable && !objectp->isPermanentEnforced() && ((root_objectp == NULL) || !root_objectp->isPermanentEnforced())); mObject = objectp; mRootObject = root_objectp; |