Fix NavigationServer.set_debug_enabled() doing nothing
Fixes NavigationServer.set_debug_enabled() doing nothing because it was not updated for newer dirty flags.
This commit is contained in:
parent
f47f4a02c8
commit
282d772f1b
|
@ -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