소스 검색

fix bug when calculating bounds from removed object

bstouls 9 년 전
부모
커밋
7e354a6e51
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      h3d/scene/Object.hx

+ 1 - 0
h3d/scene/Object.hx

@@ -297,6 +297,7 @@ class Object {
 		if( childs.remove(o) ) {
 			if( o.allocated ) o.onDelete();
 			o.parent = null;
+			o.posChanged = true;
 		}
 	}