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 19:29:56 +0300
committerGaia Clary <gaia.clary@machinimatrix.org>2018-02-28 19:29:56 +0300
commit4a892adac5937fdaa19d0309e5195a83bdb14e72 (patch)
treec99b8fbccb904a59983e82ee3ede24d967dece03 /source/blender/collada/collada.h
parente73fe77ac09fdad139447b3a00370203049676fc (diff)
parenta363324f7fbba599522d93c4b20d7ada209967d9 (diff)
merge from master (needed to fix collada headerfiles which have been modified in master and in blender2.8 slightly different)
Diffstat (limited to 'source/blender/collada/collada.h')
-rw-r--r--source/blender/collada/collada.h54
1 files changed, 8 insertions, 46 deletions
diff --git a/source/blender/collada/collada.h b/source/blender/collada/collada.h
index 47272255012..f95fca03b65 100644
--- a/source/blender/collada/collada.h
+++ b/source/blender/collada/collada.h
@@ -28,6 +28,10 @@
#define __COLLADA_H__
#include <stdlib.h>
+
+#include "ImportSettings.h"
+#include "ExportSettings.h"
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -36,16 +40,6 @@ extern "C" {
#include "BLI_path_util.h"
#include "RNA_types.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 bContext;
struct Scene;
struct ViewLayer;
@@ -55,44 +49,12 @@ struct EvaluationContext;
* both return 1 on success, 0 on error
*/
int collada_import(struct bContext *C,
- const char *filepath,
- int import_units,
- int find_chains,
- int auto_connect,
- int fix_orientation,
- int min_chain_length,
-
- int keep_bind_info);
-
-int collada_export(
- EvaluationContext *eval_ctx,
- Scene *sce,
- const char *filepath,
-
- int apply_modifiers,
- BC_export_mesh_type export_mesh_type,
-
- int selected,
- int include_children,
- int include_armatures,
- int include_shapekeys,
- int deform_bones_only,
- int include_animations,
- int sampling_rate,
-
- int active_uv_only,
- int include_material_textures,
- int use_texture_copies,
+ ImportSettings *import_settings);
- int triangulate,
- int use_object_instantiation,
- int use_blender_profile,
- int sort_by_name,
- BC_export_transformation_type export_transformation_type,
- int open_sim,
- int limit_precision,
- int keep_bind_info);
+int collada_export(struct EvaluationContext *eval_ctx,
+ struct Scene *sce,
+ ExportSettings *export_settings);
#ifdef __cplusplus
}