소스 검색

fix bug when calculating bounds from removed sprite

bstouls 9 년 전
부모
커밋
8ca47c1a92
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      h2d/Sprite.hx

+ 1 - 0
h2d/Sprite.hx

@@ -268,6 +268,7 @@ class Sprite {
 		if( childs.remove(s) ) {
 			if( s.allocated ) s.onDelete();
 			s.parent = null;
+			s.posChanged = true;
 		}
 	}