Path-317: debug option to enable vbo rendering of navmeshes
parent
d4f71fd29d
commit
399d0da9ef
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -397,7 +397,7 @@ void LLFloaterPathfindingConsole::setHasNavMeshReceived()
|
|||
--mNavMeshCnt;
|
||||
if ( mNavMeshCnt == 0 )
|
||||
{
|
||||
LLPathingLib::getInstance()->stitchNavMeshes();
|
||||
LLPathingLib::getInstance()->stitchNavMeshes( gSavedSettings.getBOOL("EnableVBOForNavMeshVisualization") );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue