diff options
Diffstat (limited to 'source/blender/collada/collada.cpp')
-rw-r--r-- | source/blender/collada/collada.cpp | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/source/blender/collada/collada.cpp b/source/blender/collada/collada.cpp index 9a4fd44b9e9..5b970c236a4 100644 --- a/source/blender/collada/collada.cpp +++ b/source/blender/collada/collada.cpp @@ -50,17 +50,19 @@ int collada_import(bContext *C, const char *filepath) } int collada_export( - Scene *sce, - const char *filepath, - int selected, - int apply_modifiers, + Scene *sce, + const char *filepath, - int include_armatures, - int include_children, + int apply_modifiers, - int use_object_instantiation, + int selected, + int include_children, + int include_armatures, + int deform_bones_only, + + int use_object_instantiation, int sort_by_name, - int second_life) + int second_life) { ExportSettings export_settings; @@ -73,15 +75,19 @@ int collada_export( } /* end! */ + export_settings.filepath = (char *)filepath; - export_settings.selected = selected != 0; export_settings.apply_modifiers = apply_modifiers != 0; + + export_settings.selected = selected != 0; + export_settings.include_children = include_children != 0; export_settings.include_armatures = include_armatures != 0; - export_settings.include_children = include_children != 0; - export_settings.second_life = second_life != 0; + export_settings.deform_bones_only = deform_bones_only != 0; + export_settings.use_object_instantiation = use_object_instantiation != 0; export_settings.sort_by_name = sort_by_name != 0; - export_settings.filepath = (char *)filepath; + export_settings.second_life = second_life != 0; + int includeFilter = OB_REL_NONE; if (export_settings.include_armatures) includeFilter |= OB_REL_MOD_ARMATURE; |