merge from master
[blender.git] / source / blender / collada / SceneExporter.cpp
index c375c09d869ecd62952a8f7e98033e78636bef31..3a6386a87213f764262ca043a523ca758ec63a43 100644 (file)
@@ -39,11 +39,6 @@ SceneExporter::SceneExporter(COLLADASW::StreamWriter *sw, ArmatureExporter *arm,
 {
 }
 
-void SceneExporter::setExportTransformationType(BC_export_transformation_type transformation_type)
-{
-       this->transformation_type = transformation_type;
-}
-
 void SceneExporter::exportScene(const EvaluationContext *eval_ctx, Scene *sce)
 {
        // <library_visual_scenes> <visual_scene>
@@ -139,7 +134,7 @@ void SceneExporter::writeNodes(const EvaluationContext *eval_ctx, Object *ob, Sc
                // for skinned mesh we write obmat in <bind_shape_matrix>
                TransformWriter::add_node_transform_identity(colladaNode);
        else {
-               TransformWriter::add_node_transform_ob(colladaNode, ob, this->transformation_type);
+               TransformWriter::add_node_transform_ob(colladaNode, ob, this->export_settings->export_transformation_type);
        }
 
        // <instance_geometry>