Преглед на файлове

bugfix in fbx-2-hmd convert

ncannasse преди 9 години
родител
ревизия
4a6b579d18
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      hxd/fmt/fbx/HMDOut.hx

+ 1 - 1
hxd/fmt/fbx/HMDOut.hx

@@ -325,7 +325,7 @@ class HMDOut extends BaseLibrary {
 					if( p != null ) p.childs.remove(o);
 					// move not joint to new parent
 					// (only first level, others will follow their respective joint)
-					for( c in o.childs )
+					for( c in o.childs.copy() )
 						if( !c.isJoint ) {
 							o.childs.remove(c);
 							o2.childs.push(c);