Skip to content

Commit 955f73a

Browse files
author
Vinícius Castanheira
committed
Fixes a reference error bug with play mode
1 parent 074586c commit 955f73a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

RealtimeCSG/Assets/Plugins/RealtimeCSG/Editor/Scripts/View/GUI/EditModeGUI/EditModeToolWindow.Editor.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ public class EditModeToolWindowEditor : Editor
1010
public override void OnInspectorGUI()
1111
{
1212
if (EditorApplication.isPlayingOrWillChangePlaymode)
13+
{
14+
Selection.activeObject = null;
1315
return;
16+
}
1417
RealtimeCSG.EditModeSelectionGUI.OnInspectorGUI(this, this.targets);
1518
}
1619
}

0 commit comments

Comments
 (0)