Skip to content

Commit

Permalink
Fix FBX animation bug introduced with 24 Mar 2020 commit 14b8d12 (rev…
Browse files Browse the repository at this point in the history
…ert conditional to prior state) (assimp#5815)

Co-authored-by: Steve M <[email protected]>
  • Loading branch information
tellypresence and Steve M authored Oct 14, 2024
1 parent 811bf2d commit ce0a50e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions code/AssetLib/FBX/FBXConverter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -717,8 +717,7 @@ bool FBXConverter::NeedsComplexTransformationChain(const Model &model) {
for (size_t i = 0; i < TransformationComp_MAXIMUM; ++i) {
const TransformationComp comp = static_cast<TransformationComp>(i);

if (comp == TransformationComp_Rotation || comp == TransformationComp_Scaling || comp == TransformationComp_Translation ||
comp == TransformationComp_PreRotation || comp == TransformationComp_PostRotation) {
if (comp == TransformationComp_Rotation || comp == TransformationComp_Scaling || comp == TransformationComp_Translation) {
continue;
}

Expand Down

0 comments on commit ce0a50e

Please sign in to comment.