add select tool
cleanup more from guinaveditorctrl and scripts
This commit is contained in:
marauder2k7 2025-07-27 19:32:52 +01:00
parent 3946017556
commit 24ec55e8bc
9 changed files with 252 additions and 208 deletions

View file

@ -34,9 +34,9 @@
#include "gui/worldEditor/gizmo.h"
#endif
#ifndef _NAVMESH_TOOL_H_
#include "navigation/navMeshTool.h"
#endif
//#ifndef _NAVMESH_TOOL_H_
//#include "navigation/navMeshTool.h"
//#endif
#include "navMesh.h"
#include "T3D/aiPlayer.h"
@ -45,6 +45,7 @@ struct ObjectRenderInst;
class SceneManager;
class SceneRenderState;
class BaseMatInstance;
class NavMeshTool;
class GuiNavEditorCtrl : public EditTSCtrl
{
@ -99,9 +100,6 @@ public:
bool getStaticPos(const Gui3DMouseEvent & event, Point3F &tpos);
void setMode(String mode, bool sourceShortcut);
String getMode() { return mMode; }
void selectMesh(NavMesh *mesh);
S32 getMeshId();
@ -122,8 +120,6 @@ protected:
bool mIsDirty;
String mMode;
/// Currently-selected NavMesh.
SimObjectPtr<NavMesh> mMesh;