diff options
author | Gaia Clary <gaia.clary@machinimatrix.org> | 2012-06-17 03:35:53 +0400 |
---|---|---|
committer | Gaia Clary <gaia.clary@machinimatrix.org> | 2012-06-17 03:35:53 +0400 |
commit | 0df30d1063cc185770451b3b2ebf3fcd0341c642 (patch) | |
tree | 3f2a1a8afb1762bc2cbc6504bcd05282b622779b /source/blender/collada/collada.cpp | |
parent | b5b830668560a7733ddd3609ba96e845aa63546b (diff) |
Collada: (Exporter) add 'mesh type selection(view|render)' for Apply modifiers option
Diffstat (limited to 'source/blender/collada/collada.cpp')
-rw-r--r-- | source/blender/collada/collada.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/collada/collada.cpp b/source/blender/collada/collada.cpp index 74f140e4813..da1ca6c30c8 100644 --- a/source/blender/collada/collada.cpp +++ b/source/blender/collada/collada.cpp @@ -28,9 +28,9 @@ /* COLLADABU_ASSERT, may be able to remove later */ #include "COLLADABUPlatform.h" -#include "ExportSettings.h" #include "DocumentExporter.h" #include "DocumentImporter.h" +#include "ExportSettings.h" extern "C" { @@ -40,6 +40,7 @@ extern "C" /* make dummy file */ #include "BLI_fileops.h" #include "BLI_path_util.h" +#include "BLI_linklist.h" int collada_import(bContext *C, const char *filepath) { @@ -53,6 +54,7 @@ int collada_export(Scene *sce, const char *filepath, int apply_modifiers, + BC_export_mesh_type export_mesh_type, int selected, int include_children, @@ -77,7 +79,7 @@ int collada_export(Scene *sce, export_settings.filepath = (char *)filepath; export_settings.apply_modifiers = apply_modifiers != 0; - + export_settings.export_mesh_type = export_mesh_type; export_settings.selected = selected != 0; export_settings.include_children = include_children != 0; export_settings.include_armatures = include_armatures != 0; |