mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 19:42:43 +00:00
Merge pull request #90200 from smix8/debug_enabled
Fix `NavigationServer.set_debug_enabled()` doing nothing
This commit is contained in:
commit
7a42afbba0
@ -294,7 +294,11 @@ void NavigationServer3D::set_debug_enabled(bool p_enabled) {
|
||||
debug_enabled = p_enabled;
|
||||
|
||||
if (debug_dirty) {
|
||||
navigation_debug_dirty = true;
|
||||
callable_mp(this, &NavigationServer3D::_emit_navigation_debug_changed_signal).call_deferred();
|
||||
|
||||
avoidance_debug_dirty = true;
|
||||
callable_mp(this, &NavigationServer3D::_emit_avoidance_debug_changed_signal).call_deferred();
|
||||
}
|
||||
#endif // DEBUG_ENABLED
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user