diff options
Diffstat (limited to 'source/blender/collada/collada.h')
-rw-r--r-- | source/blender/collada/collada.h | 49 |
1 files changed, 10 insertions, 39 deletions
diff --git a/source/blender/collada/collada.h b/source/blender/collada/collada.h index a4416608584..312f11d4ba9 100644 --- a/source/blender/collada/collada.h +++ b/source/blender/collada/collada.h @@ -28,24 +28,21 @@ #define __COLLADA_H__ #include <stdlib.h> + +#include "ImportSettings.h" +#include "ExportSettings.h" + #ifdef __cplusplus extern "C" { #endif +#include "BKE_depsgraph.h" #include "BLI_linklist.h" #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 EvaluationContext; struct bContext; struct Scene; @@ -53,37 +50,11 @@ struct Scene; * 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 collada_export(struct 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 active_uv_only, - int include_uv_textures, - int include_material_textures, - int use_texture_copies, - - int triangulate, - int use_object_instantiation, - int use_blender_profile, - int sort_by_name, - BC_export_transformation_type export_transformation_type, - int open_sim); - + ImportSettings *import_settings); +int collada_export(struct EvaluationContext *eval_ctx, + struct Scene *sce, + ExportSettings *export_settings); #ifdef __cplusplus } |