Remove SceneTree debug avoidance hint
Removes SceneTree debug avoidance hint.
This commit is contained in:
parent
598378513b
commit
f1d8ddd9bd
|
@ -2965,19 +2965,14 @@ bool Main::start() {
|
||||||
}
|
}
|
||||||
if (debug_navigation) {
|
if (debug_navigation) {
|
||||||
sml->set_debug_navigation_hint(true);
|
sml->set_debug_navigation_hint(true);
|
||||||
|
NavigationServer3D::get_singleton()->set_debug_navigation_enabled(true);
|
||||||
}
|
}
|
||||||
if (debug_avoidance) {
|
if (debug_avoidance) {
|
||||||
sml->set_debug_avoidance_hint(true);
|
NavigationServer3D::get_singleton()->set_debug_avoidance_enabled(true);
|
||||||
}
|
}
|
||||||
if (debug_navigation || debug_avoidance) {
|
if (debug_navigation || debug_avoidance) {
|
||||||
NavigationServer3D::get_singleton()->set_active(true);
|
NavigationServer3D::get_singleton()->set_active(true);
|
||||||
NavigationServer3D::get_singleton()->set_debug_enabled(true);
|
NavigationServer3D::get_singleton()->set_debug_enabled(true);
|
||||||
if (debug_navigation) {
|
|
||||||
NavigationServer3D::get_singleton()->set_debug_navigation_enabled(true);
|
|
||||||
}
|
|
||||||
if (debug_avoidance) {
|
|
||||||
NavigationServer3D::get_singleton()->set_debug_avoidance_enabled(true);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -737,14 +737,6 @@ void SceneTree::set_debug_navigation_hint(bool p_enabled) {
|
||||||
bool SceneTree::is_debugging_navigation_hint() const {
|
bool SceneTree::is_debugging_navigation_hint() const {
|
||||||
return debug_navigation_hint;
|
return debug_navigation_hint;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SceneTree::set_debug_avoidance_hint(bool p_enabled) {
|
|
||||||
debug_avoidance_hint = p_enabled;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool SceneTree::is_debugging_avoidance_hint() const {
|
|
||||||
return debug_avoidance_hint;
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void SceneTree::set_debug_collisions_color(const Color &p_color) {
|
void SceneTree::set_debug_collisions_color(const Color &p_color) {
|
||||||
|
|
|
@ -132,7 +132,6 @@ private:
|
||||||
bool debug_collisions_hint = false;
|
bool debug_collisions_hint = false;
|
||||||
bool debug_paths_hint = false;
|
bool debug_paths_hint = false;
|
||||||
bool debug_navigation_hint = false;
|
bool debug_navigation_hint = false;
|
||||||
bool debug_avoidance_hint = false;
|
|
||||||
#endif
|
#endif
|
||||||
bool paused = false;
|
bool paused = false;
|
||||||
int root_lock = 0;
|
int root_lock = 0;
|
||||||
|
@ -347,9 +346,6 @@ public:
|
||||||
|
|
||||||
void set_debug_navigation_hint(bool p_enabled);
|
void set_debug_navigation_hint(bool p_enabled);
|
||||||
bool is_debugging_navigation_hint() const;
|
bool is_debugging_navigation_hint() const;
|
||||||
|
|
||||||
void set_debug_avoidance_hint(bool p_enabled);
|
|
||||||
bool is_debugging_avoidance_hint() const;
|
|
||||||
#else
|
#else
|
||||||
void set_debug_collisions_hint(bool p_enabled) {}
|
void set_debug_collisions_hint(bool p_enabled) {}
|
||||||
bool is_debugging_collisions_hint() const { return false; }
|
bool is_debugging_collisions_hint() const { return false; }
|
||||||
|
|
Loading…
Reference in New Issue