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>2018-02-28 17:53:00 +0300
committerGaia Clary <gaia.clary@machinimatrix.org>2018-02-28 18:05:28 +0300
commit01f732d97b2196b3569ee6f9a7ff66f51cc12029 (patch)
treec8cb3f833e4f30532d66ff1ed33ec64ea6397191 /source/blender/collada/ExportSettings.h
parent8b8e16dc2cedd03d0a22f89c9165c76722cc706a (diff)
Collada: Moved structure definitions for export settings to the exportSettings.h Also make typedefs for import/export structures.
Diffstat (limited to 'source/blender/collada/ExportSettings.h')
-rw-r--r--source/blender/collada/ExportSettings.h30
1 files changed, 26 insertions, 4 deletions
diff --git a/source/blender/collada/ExportSettings.h b/source/blender/collada/ExportSettings.h
index 73a101108a9..fa6751bef60 100644
--- a/source/blender/collada/ExportSettings.h
+++ b/source/blender/collada/ExportSettings.h
@@ -27,10 +27,28 @@
#ifndef __EXPORTSETTINGS_H__
#define __EXPORTSETTINGS_H__
-#include "collada.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include "BLI_linklist.h"
+
+typedef enum BC_export_mesh_type {
+ BC_MESH_TYPE_VIEW,
+ BC_MESH_TYPE_RENDER
+} BC_export_mesh_type;
+
+typedef enum BC_export_transformation_type {
+ BC_TRANSFORMATION_TYPE_MATRIX,
+ BC_TRANSFORMATION_TYPE_TRANSROTLOC
+} BC_export_transformation_type;
-struct ExportSettings {
-public:
+typedef enum BC_export_texture_type {
+ BC_TEXTURE_TYPE_MAT,
+ BC_TEXTURE_TYPE_UV
+} BC_export_texture_type;
+
+typedef struct ExportSettings {
bool apply_modifiers;
BC_export_mesh_type export_mesh_type;
@@ -58,6 +76,10 @@ public:
char *filepath;
LinkNode *export_set;
-};
+} ExportSettings;
+
+#ifdef __cplusplus
+}
+#endif
#endif