From a2a301bdb96387b5b70ef82e5e9329ce1b5b5c75 Mon Sep 17 00:00:00 2001 From: Gaia Clary Date: Sat, 24 Jun 2017 22:09:08 +0200 Subject: collada: change image export: export either UV Textures or Materials. This avoids wrong texture data when multiple objects are exported. Note: This commit might possiblyt not work fully. The full feature is added with the next commit) --- source/blender/collada/collada.h | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'source/blender/collada/collada.h') diff --git a/source/blender/collada/collada.h b/source/blender/collada/collada.h index 8035af59c8b..99c749421a4 100644 --- a/source/blender/collada/collada.h +++ b/source/blender/collada/collada.h @@ -46,6 +46,12 @@ typedef enum BC_export_transformation_type { BC_TRANSFORMATION_TYPE_TRANSROTLOC } BC_export_transformation_type; +typedef enum BC_export_texture_type { + BC_TEXTURE_TYPE_NONE, + BC_TEXTURE_TYPE_UV, + BC_TEXTURE_TYPE_MAT +} BC_export_texture_type; + struct bContext; struct Scene; @@ -74,8 +80,7 @@ int collada_export(struct Scene *sce, int deform_bones_only, int active_uv_only, - int include_uv_textures, - int include_material_textures, + BC_export_texture_type export_texture_type, int use_texture_copies, int triangulate, @@ -84,9 +89,9 @@ int collada_export(struct Scene *sce, int sort_by_name, BC_export_transformation_type export_transformation_type, - int open_sim, - int limit_precision, - int keep_bind_info); + int open_sim, + int limit_precision, + int keep_bind_info); #ifdef __cplusplus } -- cgit v1.2.3