Explorar el Código

Editor: Update clear().

Mugen87 hace 5 años
padre
commit
33ba08f2fe
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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();