Browse Source

Editor: Update clear().

Mugen87 5 năm trước cách đây
mục cha
commit
33ba08f2fe
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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();