Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaia Clary <gaia.clary@machinimatrix.org>2012-05-24 18:56:09 +0400
committerGaia Clary <gaia.clary@machinimatrix.org>2012-05-24 18:56:09 +0400
commitda67c969b38d748049ddd118a21fa046241739fe (patch)
treed866705bb0ecde30c6cd2f5f647d15b283e113fd /source/blender/collada/collada.cpp
parent09344fb1027a03158cf151ec45891ab339c478fc (diff)
Patch #31570: Implementation of 'Include bone children' Option
Diffstat (limited to 'source/blender/collada/collada.cpp')
-rw-r--r--source/blender/collada/collada.cpp17
1 files changed, 12 insertions, 5 deletions
diff --git a/source/blender/collada/collada.cpp b/source/blender/collada/collada.cpp
index ae024ec52a7..c947144412a 100644
--- a/source/blender/collada/collada.cpp
+++ b/source/blender/collada/collada.cpp
@@ -49,14 +49,21 @@ extern "C"
return 0;
}
- int collada_export(Scene *sce, const char *filepath, int selected, int apply_modifiers, int second_life)
+ int collada_export(
+ Scene *sce,
+ const char *filepath,
+ int selected,
+ int apply_modifiers,
+ int include_bone_children,
+ int second_life)
{
ExportSettings export_settings;
- export_settings.selected = selected != 0;
- export_settings.apply_modifiers = apply_modifiers != 0;
- export_settings.second_life = second_life != 0;
- export_settings.filepath = (char *)filepath;
+ export_settings.selected = selected != 0;
+ export_settings.apply_modifiers = apply_modifiers != 0;
+ export_settings.include_bone_children = include_bone_children != 0;
+ export_settings.second_life = second_life != 0;
+ export_settings.filepath = (char *)filepath;
/* annoying, collada crashes if file cant be created! [#27162] */
if (!BLI_exists(filepath)) {