Fixed NavMesh auto sizing.

This commit is contained in:
Daniel Buckmaster 2014-11-29 13:18:08 +11:00
parent d315b1fa5a
commit c1419d28d1
4 changed files with 112 additions and 40 deletions

View file

@ -136,7 +136,7 @@ function NavEditorPlugin::onActivated(%this)
new SimSet(ServerNavMeshSet);
if(ServerNavMeshSet.getCount() == 0)
MessageBoxYesNo("No NavMesh", "There is no NavMesh in this level. Would you like to create one?" SPC
"If not, please use the World Editor to create a new NavMesh.",
"If not, please use the Nav Editor to create a new NavMesh.",
"Canvas.pushDialog(CreateNewNavMeshDlg);");
NavTreeView.open(ServerNavMeshSet, true);