Ver Fonte

Editor: Update clear().

Mugen87 há 5 anos atrás
pai
commit
33ba08f2fe
1 ficheiros alterados com 2 adições e 0 exclusões
  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();