Explorar o código

fix if skin model only found by heuristic

ncannasse %!s(int64=8) %!d(string=hai) anos
pai
achega
c300370f25
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      hxd/fmt/fbx/HMDOut.hx

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

@@ -319,6 +319,7 @@ class HMDOut extends BaseLibrary {
 				if( o2.model == m ) {
 					foundSkin.push(o);
 					o2.skin = o;
+					if( o.model == null ) o.model = m;
 					ignoreMissingObject(m.getName()); // make sure we don't store animation for the model (only skin object has one)
 					// copy parent
 					var p = o.parent;