mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Recast: allow moving cursor through UI
This commit is contained in:
parent
25cd598b17
commit
5bf5713eba
@ -35,6 +35,7 @@
|
||||
|
||||
#include "game/server/ai_navmesh.h"
|
||||
#include "game/server/ai_hull.h"
|
||||
#include "coordsize.h"
|
||||
|
||||
|
||||
#ifdef DT_POLYREF64
|
||||
@ -185,6 +186,10 @@ public:
|
||||
ImGui::PopItemWidth();
|
||||
}
|
||||
|
||||
ImGui::PushItemWidth(180);
|
||||
ImGui::SliderFloat3("Cursor", m_hitPos, MIN_COORD_FLOAT, MAX_COORD_FLOAT);
|
||||
ImGui::PopItemWidth();
|
||||
|
||||
if (hasMarker && ImGui::Button("Clear Markers"))
|
||||
{
|
||||
m_markedTileRef = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user