diff options
author | leyla_linden <none@none> | 2011-01-26 17:02:11 -0800 |
---|---|---|
committer | leyla_linden <none@none> | 2011-01-26 17:02:11 -0800 |
commit | f89b8c26854e362980e3f5c16c6b3a22c932c3f6 (patch) | |
tree | d31f19328839d2cd455a54477b5232f693964069 /indra/newview | |
parent | ae292e00bbd5612acbd092c1d045f491965e5cfa (diff) |
SH-841 Hide physics parameters in build tools when connected
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llpanelobject.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llpanelobject.cpp b/indra/newview/llpanelobject.cpp index f1fd47f50e..3e2d903d58 100644 --- a/indra/newview/llpanelobject.cpp +++ b/indra/newview/llpanelobject.cpp @@ -1923,7 +1923,8 @@ void LLPanelObject::refresh() mRootObject = NULL; } - bool enable_mesh = gSavedSettings.getBOOL("MeshEnabled"); + bool enable_mesh = gSavedSettings.getBOOL("MeshEnabled") && + !gAgent.getRegion()->getCapability("GetMesh").empty(); getChildView("label physicsshapetype")->setVisible(enable_mesh); getChildView("Physics Shape Type Combo Ctrl")->setVisible(enable_mesh); |