File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -1168,17 +1168,15 @@ public AnimationClip(ObjectReader reader) : base(reader)
1168
1168
if ( version >= 4 ) //4.0 and up
1169
1169
{
1170
1170
m_MuscleClipSize = reader . ReadUInt32 ( ) ;
1171
- if ( m_MuscleClipSize > 0 )
1171
+ if ( ! version . IsTuanjie )
1172
1172
{
1173
- if ( version . IsTuanjie )
1174
- {
1175
- _ = reader . ReadUInt32 ( ) ;
1176
- }
1173
+ m_MuscleClip = new ClipMuscleConstant ( reader ) ;
1174
+ }
1175
+ else if ( m_MuscleClipSize > 0 )
1176
+ {
1177
+ _ = reader . ReadInt32 ( ) ;
1177
1178
m_MuscleClip = new ClipMuscleConstant ( reader ) ; //m_AnimData (Tuanjie)
1178
- if ( version . IsTuanjie )
1179
- {
1180
- m_StreamingInfo = new StreamingInfo ( reader ) ;
1181
- }
1179
+ m_StreamingInfo = new StreamingInfo ( reader ) ;
1182
1180
}
1183
1181
}
1184
1182
if ( version >= ( 4 , 3 ) ) //4.3 and up
You can’t perform that action at this time.
0 commit comments