fix T52831 removed enforcement of matrix decomposition when animations are exported
This commit is contained in:
parent
a3b8f98913
commit
26f98446b1
Notes:
blender-bot
2023-02-14 09:29:42 +01:00
Referenced by issue #53683, 2.79a release Referenced by issue #52951, Absolute grid snapping: Half unit offset issue with edges, if their total length in units is an odd number Referenced by issue #52831, collada exporter transform geometry randomly if camera is exported
|
@ -305,7 +305,10 @@ int DocumentExporter::exportCurrentScene(Scene *sce)
|
|||
// <library_visual_scenes>
|
||||
|
||||
SceneExporter se(writer, &arm_exporter, this->export_settings);
|
||||
|
||||
#if 0
|
||||
/* The following code seems to be an obsolete workaround
|
||||
Comment out until it proofs correct that we no longer need it.
|
||||
*/
|
||||
if (has_animations && this->export_settings->export_transformation_type == BC_TRANSFORMATION_TYPE_MATRIX) {
|
||||
// channels adressing <matrix> objects is not (yet) supported
|
||||
// So we force usage of <location>, <translation> and <scale>
|
||||
|
@ -317,7 +320,9 @@ int DocumentExporter::exportCurrentScene(Scene *sce)
|
|||
else {
|
||||
se.setExportTransformationType(this->export_settings->export_transformation_type);
|
||||
}
|
||||
|
||||
#else
|
||||
se.setExportTransformationType(this->export_settings->export_transformation_type);
|
||||
#endif
|
||||
se.exportScene(sce);
|
||||
|
||||
// <scene>
|
||||
|
|
Loading…
Reference in New Issue