diff options
Diffstat (limited to 'source/blender/collada/collada.h')
-rw-r--r-- | source/blender/collada/collada.h | 65 |
1 files changed, 31 insertions, 34 deletions
diff --git a/source/blender/collada/collada.h b/source/blender/collada/collada.h index 09b46c1de58..47272255012 100644 --- a/source/blender/collada/collada.h +++ b/source/blender/collada/collada.h @@ -32,7 +32,6 @@ extern "C" { #endif -#include "BKE_depsgraph.h" #include "BLI_linklist.h" #include "BLI_path_util.h" #include "RNA_types.h" @@ -47,14 +46,10 @@ typedef enum BC_export_transformation_type { BC_TRANSFORMATION_TYPE_TRANSROTLOC } BC_export_transformation_type; -typedef enum BC_export_texture_type { - BC_TEXTURE_TYPE_MAT, - BC_TEXTURE_TYPE_UV -} BC_export_texture_type; - -struct EvaluationContext; struct bContext; struct Scene; +struct ViewLayer; +struct EvaluationContext; /* * both return 1 on success, 0 on error @@ -69,33 +64,35 @@ int collada_import(struct bContext *C, int keep_bind_info); -int collada_export(struct EvaluationContext *eval_ctx, - 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 include_animations, - int sampling_rate, - - int active_uv_only, - BC_export_texture_type export_texture_type, - 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, - int limit_precision, - 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, + + 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); #ifdef __cplusplus } |