瀏覽代碼

Editor: Update clear().

Mugen87 5 年之前
父節點
當前提交
33ba08f2fe
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      editor/js/Editor.js

+ 2 - 0
editor/js/Editor.js

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