Procházet zdrojové kódy

Editor: Update clear().

Mugen87 před 5 roky
rodič
revize
33ba08f2fe
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      editor/js/Editor.js

+ 2 - 0
editor/js/Editor.js

@@ -625,6 +625,8 @@ Editor.prototype = {
 		this.textures = {};
 		this.scripts = {};
 
+		this.materialsRefCounter.clear();
+
 		this.animations = {};
 		this.mixer.stopAllAction();