Explorar o código

Editor: Update clear().

Mugen87 %!s(int64=5) %!d(string=hai) anos
pai
achega
33ba08f2fe
Modificáronse 1 ficheiros con 2 adicións e 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();