diff options
author | Gaia Clary <gaia.clary@machinimatrix.org> | 2019-01-10 15:15:09 +0300 |
---|---|---|
committer | Gaia Clary <gaia.clary@machinimatrix.org> | 2019-01-10 15:15:20 +0300 |
commit | 80281e34fd415706971d92b2f6898b6547eca234 (patch) | |
tree | 5d9730b925a3fb314bb84d5bec69664bd4c0f7ca /source/blender/collada | |
parent | 16b0a742280ad557c7921abfc6c6cf4b8e783a92 (diff) |
fix T60049: Collada Exporter: When exporting multiple UVs, the set index must start with 0
Diffstat (limited to 'source/blender/collada')
-rw-r--r-- | source/blender/collada/GeometryExporter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/collada/GeometryExporter.cpp b/source/blender/collada/GeometryExporter.cpp index bb69c3fc653..8ba9f10568a 100644 --- a/source/blender/collada/GeometryExporter.cpp +++ b/source/blender/collada/GeometryExporter.cpp @@ -356,7 +356,7 @@ void GeometryExporter::createPolylist(short material_index, COLLADASW::Input input3(COLLADASW::InputSemantic::TEXCOORD, makeUrl(makeTexcoordSourceId(geom_id, i, this->export_settings->active_uv_only)), 2, // this is only until we have optimized UV sets - (this->export_settings->active_uv_only) ? 0 : layer_index // only_active_uv exported -> we have only one set + (this->export_settings->active_uv_only) ? 0 : layer_index-1 //set (0,1,2,...) ); til.push_back(input3); } |