Parcourir la source

Editor: Update clear().

Mugen87 il y a 5 ans
Parent
commit
33ba08f2fe
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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();