소스 검색

fix if skin model only found by heuristic

ncannasse 8 년 전
부모
커밋
c300370f25
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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;