Mark Sibly 8 年 前
コミット
782623c000
1 ファイル変更3 行追加1 行削除
  1. 3 1
      modules/mojo3d-loaders/loaders/assimp.monkey2

+ 3 - 1
modules/mojo3d-loaders/loaders/assimp.monkey2

@@ -128,7 +128,7 @@ Class AssimpLoader
 				
 				Local aiweight:=aibone.mWeights[j]
 				
-				If aiweight.mWeight<.00001 continue
+				If aiweight.mWeight<.00001 Continue
 				
 				Local wp:=Cast<Float Ptr>( Varptr vertices[aiweight.mVertexId].weights )
 				Local bp:=Cast<UByte Ptr>( Varptr vertices[aiweight.mVertexId].bones )
@@ -316,6 +316,8 @@ Class AssimpLoader
 		
 		Local channels:=New AnimationChannel[ _entities.Length ]
 		
+'		Print "Num anim channels="+aianim.mNumChannels
+		
 		For Local i:=0 Until aianim.mNumChannels
 			
 			Local aichan:=aianim.mChannels[i]