diff options
author | Gaia Clary <gaia.clary@machinimatrix.org> | 2017-06-24 23:09:08 +0300 |
---|---|---|
committer | Gaia Clary <gaia.clary@machinimatrix.org> | 2017-06-24 23:16:47 +0300 |
commit | a2a301bdb96387b5b70ef82e5e9329ce1b5b5c75 (patch) | |
tree | 57d739b8190dc07df3744c64af2325b21207fb8d /source/blender/collada/collada.h | |
parent | 89060babbcd6099e0d53cf0164661d11a79369bd (diff) |
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)
Diffstat (limited to 'source/blender/collada/collada.h')
-rw-r--r-- | source/blender/collada/collada.h | 15 |
1 files changed, 10 insertions, 5 deletions
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 } |