Browse Source

Bugfix: Fixing a managed exception when SceneWindow is closed

BearishSun 8 years ago
parent
commit
7cbf8b8ba0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/MBansheeEditor/Windows/Scene/SceneWindow.cs

+ 1 - 1
Source/MBansheeEditor/Windows/Scene/SceneWindow.cs

@@ -298,7 +298,7 @@ namespace BansheeEditor
         {
         {
             if (camera != null)
             if (camera != null)
             {
             {
-                camera.SceneObject.Destroy();
+                camera.SceneObject.Destroy(true);
                 camera = null;
                 camera = null;
             }
             }