Skip to content
Snippets Groups Projects
Commit ba8fcdcd authored by leyla_linden's avatar leyla_linden
Browse files

SH-887 Upload model options available when MeshEnabled set to False

parent 9c58022a
No related branches found
No related tags found
No related merge requests found
......@@ -107,7 +107,9 @@ class LLMeshUploadVisible : public view_listener_t
{
bool handleEvent(const LLSD& userdata)
{
return LLViewerParcelMgr::getInstance()->allowAgentBuild() && !gAgent.getRegion()->getCapability("ObjectAdd").empty();
return gSavedSettings.getBOOL("MeshEnabled") &&
LLViewerParcelMgr::getInstance()->allowAgentBuild() &&
!gAgent.getRegion()->getCapability("ObjectAdd").empty();
}
};
......
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