Преглед на файлове

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.scripts = {};
 
+		this.materialsRefCounter.clear();
+
 		this.animations = {};
 		this.mixer.stopAllAction();