Переглянути джерело

we don't need this optim anymore as the removel is now always in O(1)

Julien Barrois 7 роки тому
батько
коміт
3d2c7b9143
1 змінених файлів з 0 додано та 4 видалено
  1. 0 4
      src/Mesh/babylon.mesh.ts

+ 0 - 4
src/Mesh/babylon.mesh.ts

@@ -223,10 +223,6 @@
 
             scene = this.getScene();
 
-            if (parent || (source && source.parent)) {
-                this.removeFromSceneRootNodes();
-            }
-
             if (source) {
                 // Geometry
                 if (source._geometry) {