Explorar o código

fix bug when calculating bounds from removed object

bstouls %!s(int64=9) %!d(string=hai) anos
pai
achega
7e354a6e51
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;
 		}
 	}