Explorar o código

Fix Navigation Debug always enabled

Fixes that Navigation Debug is always enabled in debug builds even while "Visible Navigation" is turned off.
smix8 %!s(int64=3) %!d(string=hai) anos
pai
achega
30c6fff214
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      servers/navigation_server_3d.h

+ 1 - 1
servers/navigation_server_3d.h

@@ -209,7 +209,7 @@ public:
 	virtual ~NavigationServer3D();
 
 #ifdef DEBUG_ENABLED
-	bool debug_enabled = true;
+	bool debug_enabled = false;
 	bool debug_dirty = true;
 	void _emit_navigation_debug_changed_signal();