Преглед изворни кода

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) {