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-06-17 03:35:53 +0400
committerGaia Clary <gaia.clary@machinimatrix.org>2012-06-17 03:35:53 +0400
commit0df30d1063cc185770451b3b2ebf3fcd0341c642 (patch)
tree3f2a1a8afb1762bc2cbc6504bcd05282b622779b /source/blender/collada/collada.h
parentb5b830668560a7733ddd3609ba96e845aa63546b (diff)
Collada: (Exporter) add 'mesh type selection(view|render)' for Apply modifiers option
Diffstat (limited to 'source/blender/collada/collada.h')
-rw-r--r--source/blender/collada/collada.h23
1 files changed, 20 insertions, 3 deletions
diff --git a/source/blender/collada/collada.h b/source/blender/collada/collada.h
index e38f38b627a..4261e31c413 100644
--- a/source/blender/collada/collada.h
+++ b/source/blender/collada/collada.h
@@ -27,12 +27,28 @@
#ifndef __COLLADA_H__
#define __COLLADA_H__
-struct bContext;
-struct Scene;
-
+#include <stdlib.h>
#ifdef __cplusplus
extern "C" {
#endif
+
+#include "BLI_linklist.h"
+#include "RNA_types.h"
+
+typedef enum BC_export_mesh_type {
+ BC_MESH_TYPE_VIEW,
+ BC_MESH_TYPE_RENDER,
+} BC_export_mesh_type;
+
+static EnumPropertyItem prop_bc_export_mesh_type[] = {
+ {BC_MESH_TYPE_VIEW, "view", 0, "View", "Apply modifier's view settings"},
+ {BC_MESH_TYPE_RENDER, "render", 0, "Render", "Apply modifier's render settings"},
+ {0, NULL, 0, NULL, NULL}
+};
+
+struct bContext;
+struct Scene;
+
/*
* both return 1 on success, 0 on error
*/
@@ -40,6 +56,7 @@ int collada_import(bContext *C, const char *filepath);
int collada_export(Scene *sce,
const char *filepath,
int apply_modifiers,
+ BC_export_mesh_type export_mesh_type,
int selected,
int include_children,