소스 검색

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