mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
Fix mesh load issue & merge issue
This commit is contained in:
parent
41dfb64210
commit
e7db0d7956
4 changed files with 7 additions and 5 deletions
|
|
@ -916,7 +916,10 @@ TSMesh* TSShape::copyMesh( const TSMesh* srcMesh ) const
|
|||
}
|
||||
|
||||
bool TSShape::addMesh(TSMesh* mesh, const String& meshName)
|
||||
{
|
||||
{
|
||||
// Ensure mesh is in editable state
|
||||
mesh->makeEditable();
|
||||
|
||||
// Determine the object name and detail size from the mesh name
|
||||
S32 detailSize = 999;
|
||||
String objName(String::GetTrailingNumber(meshName, detailSize));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue