Merge pull request #2663 from thomasbiang/fix-multi-uvset-coord

fix issue textureCoords are messed up for multiple uvset
pull/2680/head
Kim Kulling 2019-09-26 08:55:47 +02:00 committed by GitHub
commit 0e85872951
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1289,7 +1289,7 @@ void FBXExporter::WriteObjects ()
for(unsigned int lr = 1; lr < m->GetNumUVChannels(); ++ lr)
{
FBX::Node layerExtra("Layer", int32_t(1));
FBX::Node layerExtra("Layer", int32_t(lr));
layerExtra.AddChild("Version", int32_t(100));
FBX::Node leExtra("LayerElement");
leExtra.AddChild("Type", "LayerElementUV");