mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
Merge pull request #119 from DavidWyand-GG/issue118-ColladaMaterials
Fix for Issue #118 for Collada Importer Materials
This commit is contained in:
commit
cd8bca48d5
1 changed files with 5 additions and 0 deletions
|
|
@ -463,6 +463,11 @@ S32 ColladaAppMesh::addMaterial(const char* symbol)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// No Collada material is present for this symbol, so just create an empty one
|
||||||
|
appMaterials.push_back(new ColladaAppMaterial(symbol));
|
||||||
|
}
|
||||||
|
|
||||||
// Add this symbol to the bound list for the mesh
|
// Add this symbol to the bound list for the mesh
|
||||||
boundMaterials.insert(StringTable->insert(symbol), matIndex);
|
boundMaterials.insert(StringTable->insert(symbol), matIndex);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue