Explorar o código

- The Sandbox now deletes the Scene when the module is destroyed.

MelvMay-GG %!s(int64=12) %!d(string=hai) anos
pai
achega
2865b05a99
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      modules/Sandbox/1/main.cs

+ 3 - 0
modules/Sandbox/1/main.cs

@@ -90,6 +90,9 @@ function Sandbox::destroy( %this )
     
     
     // Destroy the sandbox window.
     // Destroy the sandbox window.
     destroySandboxWindow();
     destroySandboxWindow();
+    
+    // Destroy the sandbox scene.
+    destroySandboxScene();
 }
 }
 
 
 //-----------------------------------------------------------------------------
 //-----------------------------------------------------------------------------