Jelajahi Sumber

Editor: Update clear().

Mugen87 5 tahun lalu
induk
melakukan
33ba08f2fe
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  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();