FBX Export: handle newly-added geometric transform inverse nodes.

This also tidies up the imported node structure a little,
by not adding the inverse nodes if there are no child nodes.
This commit is contained in:
Tommy
2018-02-24 08:42:03 +01:00
parent 5e4b2b898f
commit b91976eead
2 changed files with 23 additions and 14 deletions

View File

@@ -1775,7 +1775,10 @@ const std::map<std::string,std::pair<std::string,char>> transform_types = {
{"ScalingPivotInverse", {"ScalingPivotInverse", 'i'}},
{"GeometricScaling", {"GeometricScaling", 's'}},
{"GeometricRotation", {"GeometricRotation", 'r'}},
{"GeometricTranslation", {"GeometricTranslation", 't'}}
{"GeometricTranslation", {"GeometricTranslation", 't'}},
{"GeometricTranslationInverse", {"GeometricTranslationInverse", 'i'}},
{"GeometricRotationInverse", {"GeometricRotationInverse", 'i'}},
{"GeometricScalingInverse", {"GeometricScalingInverse", 'i'}}
};
// write a single model node to the stream