Commits

Loren Shih  committed 67ed208

SH-1444 FIXED "Allow mesh objects" setting is visible on non-mesh region.

  • Participants
  • Parent commits dd50933

Comments (0)

Files changed (1)

File indra/newview/llfloaterregioninfo.cpp

 
 	const bool enable_mesh = gSavedSettings.getBOOL("MeshEnabled") && 
 		gAgent.getRegion() &&
-		!gAgent.getRegion()->getCapability("GetMesh").empty();
+		!gAgent.getRegion()->getCapability("GetMesh").empty() &&
+		!gAgent.getRegion()->getCapability("ObjectAdd").empty();
 	getChildView("mesh_rez_enabled_check")->setVisible(enable_mesh);
 	getChildView("mesh_rez_enabled_check")->setEnabled(getChildView("mesh_rez_enabled_check")->getEnabled() && enable_mesh);
 	// Data gets filled in by processRegionInfo