diff options
author | Gaia Clary <gaia.clary@machinimatrix.org> | 2012-05-07 22:09:59 +0400 |
---|---|---|
committer | Gaia Clary <gaia.clary@machinimatrix.org> | 2012-05-07 22:09:59 +0400 |
commit | 98ba7dfecf454d8536ef63d8a5bd31c2e687a62e (patch) | |
tree | 5593f5f1f663ffd0c91a8c734ebda5d653491c41 /source/blender/collada/collada.cpp | |
parent | 353ef9541a37faa009e62a2969fc96d160260c6b (diff) |
Collada: patch #31331: Implementation of 'Apply Modifiers'
Diffstat (limited to 'source/blender/collada/collada.cpp')
-rw-r--r-- | source/blender/collada/collada.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source/blender/collada/collada.cpp b/source/blender/collada/collada.cpp index 70bf0556b5b..ae024ec52a7 100644 --- a/source/blender/collada/collada.cpp +++ b/source/blender/collada/collada.cpp @@ -49,13 +49,14 @@ extern "C" return 0; } - int collada_export(Scene *sce, const char *filepath, int selected, int second_life) + int collada_export(Scene *sce, const char *filepath, int selected, int apply_modifiers, int second_life) { ExportSettings export_settings; - export_settings.selected = selected != 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.second_life = second_life != 0; + export_settings.filepath = (char *)filepath; /* annoying, collada crashes if file cant be created! [#27162] */ if (!BLI_exists(filepath)) { |