fix T60049: Collada Exporter: When exporting multiple UVs, the set index must start with 0
This commit is contained in:
parent
16b0a74228
commit
80281e34fd
Notes:
blender-bot
2023-02-14 10:43:47 +01:00
Referenced by issue #60049, Collada Export UV Set
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue