diff options
author | Loren Shih <seraph@lindenlab.com> | 2011-05-26 16:52:26 -0400 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2011-05-26 16:52:26 -0400 |
commit | 5a39eeb70fbc47a5a52f53e69ca5d95ed2f5e68a (patch) | |
tree | 15d570c2346df4d4a0357ba2676c132db97fec55 /indra/newview/llpanelvolume.cpp | |
parent | 74da6623dcc53f440935ea69dde5cf140c9c5c4b (diff) |
SH-1669 FIXED Physics properties show up on DRTSIM-52
Diffstat (limited to 'indra/newview/llpanelvolume.cpp')
-rw-r--r-- | indra/newview/llpanelvolume.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llpanelvolume.cpp b/indra/newview/llpanelvolume.cpp index ebddaa90bc..7839cdd811 100644 --- a/indra/newview/llpanelvolume.cpp +++ b/indra/newview/llpanelvolume.cpp @@ -532,7 +532,8 @@ void LLPanelVolume::refresh() bool enable_mesh = gSavedSettings.getBOOL("MeshEnabled") && gAgent.getRegion() && - !gAgent.getRegion()->getCapability("GetMesh").empty(); + !gAgent.getRegion()->getCapability("GetMesh").empty() && + !gAgent.getRegion()->getCapability("ObjectAdd").empty(); getChildView("label physicsshapetype")->setVisible(enable_mesh); getChildView("Physics Shape Type Combo Ctrl")->setVisible(enable_mesh); |