Skip to content
Snippets Groups Projects
Commit 5a39eeb7 authored by Loren Shih's avatar Loren Shih
Browse files

SH-1669 FIXED Physics properties show up on DRTSIM-52

parent 74da6623
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment