Skip to content

Commit f71fd39

Browse files
committed
Debug flag
1 parent 4f4b768 commit f71fd39

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Editor/Windows/WindowManager.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ public class WindowManager : EditorWindow {
77
static Type[] _desired_dock_next_toos = {
88
typeof(RenderTextureConfiguratorWindow),
99
typeof(CameraSynchronisationWindow),
10+
#if NEODROID_DEBUG
1011
typeof(DebugWindow),
12+
#endif
1113
typeof(SegmentationWindow),
1214
typeof(EnvironmentsWindow),
1315
typeof(TaskWindow),
@@ -21,7 +23,9 @@ public static void ShowWindow() {
2123
//Show existing window instance. If one doesn't exist, make one.
2224
GetWindow<RenderTextureConfiguratorWindow>(_desired_dock_next_toos);
2325
GetWindow<CameraSynchronisationWindow>(_desired_dock_next_toos);
26+
#if NEODROID_DEBUG
2427
GetWindow<DebugWindow>(_desired_dock_next_toos);
28+
#endif
2529
GetWindow<SegmentationWindow>(_desired_dock_next_toos);
2630
GetWindow<EnvironmentsWindow>(_desired_dock_next_toos);
2731
GetWindow<TaskWindow>(_desired_dock_next_toos);

0 commit comments

Comments
 (0)