mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 10:41:15 +00:00
Match CreateROI
This commit is contained in:
parent
3493f5b2da
commit
a48fac549b
@ -305,7 +305,7 @@ LegoROI* LegoCharacterManager::CreateROI(const char* p_key)
|
||||
LegoROI* childROI;
|
||||
MxS32 lodSize;
|
||||
const char* parentName;
|
||||
char lodName[64];
|
||||
char lodName[256];
|
||||
|
||||
LegoCharacterData::Part& part = data->m_parts[i];
|
||||
|
||||
@ -322,7 +322,9 @@ LegoROI* LegoCharacterManager::CreateROI(const char* p_key)
|
||||
dupLodList = lodManager->Create(lodName, lodSize);
|
||||
|
||||
for (j = 0; j < lodSize; j++) {
|
||||
dupLodList->PushBack(((LegoLOD*) (*lodList)[j])->Clone(renderer));
|
||||
LegoLOD* lod = (LegoLOD*) (*lodList)[j];
|
||||
LegoLOD* clone = lod->Clone(renderer);
|
||||
dupLodList->PushBack(clone);
|
||||
}
|
||||
|
||||
lodList->Release();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user