Fix navigation debug not toggleable in scripts
Fixes that navigation debug was not toggleable in script while even the docs mentioned it.
This commit is contained in:
@ -274,9 +274,13 @@ public:
|
||||
|
||||
virtual int get_process_info(ProcessInfo p_info) const = 0;
|
||||
|
||||
#ifdef DEBUG_ENABLED
|
||||
void set_debug_enabled(bool p_enabled);
|
||||
bool get_debug_enabled() const;
|
||||
|
||||
private:
|
||||
bool debug_enabled = false;
|
||||
|
||||
#ifdef DEBUG_ENABLED
|
||||
bool debug_dirty = true;
|
||||
void _emit_navigation_debug_changed_signal();
|
||||
|
||||
@ -313,9 +317,6 @@ private:
|
||||
Ref<StandardMaterial3D> debug_navigation_agent_path_point_material;
|
||||
|
||||
public:
|
||||
void set_debug_enabled(bool p_enabled);
|
||||
bool get_debug_enabled() const;
|
||||
|
||||
void set_debug_navigation_edge_connection_color(const Color &p_color);
|
||||
Color get_debug_navigation_edge_connection_color() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user