Path-317: debug option to enable vbo rendering of navmeshes

meow-7.2.2
prep 2012-02-17 11:01:48 -05:00
parent d4f71fd29d
commit 399d0da9ef
2 changed files with 13 additions and 1 deletions

View File

@ -13494,5 +13494,17 @@
<key>Value</key>
<integer>6</integer>
</map>
<key>EnableVBOForNavMeshVisualization</key>
<map>
<key>Comment</key>
<string>Enable the use of VBOs for navmesh visualization.</string>
<key>Persist</key>
<integer>1</integer>
<key>Type</key>
<string>Boolean</string>
<key>Value</key>
<integer>0</integer>
</map>
</map>
</llsd>

View File

@ -397,7 +397,7 @@ void LLFloaterPathfindingConsole::setHasNavMeshReceived()
--mNavMeshCnt;
if ( mNavMeshCnt == 0 )
{
LLPathingLib::getInstance()->stitchNavMeshes();
LLPathingLib::getInstance()->stitchNavMeshes( gSavedSettings.getBOOL("EnableVBOForNavMeshVisualization") );
}
}