mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 18:51:16 +00:00
Remove TODO
This commit is contained in:
parent
348fa8e28a
commit
36125d4ee1
@ -62,7 +62,7 @@ MxResult LegoPartPresenter::Read(MxDSChunk& p_chunk)
|
|||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
if (storage.SetPosition(textureInfoOffset) != SUCCESS) {
|
if (storage.SetPosition(textureInfoOffset) != SUCCESS) {
|
||||||
goto done; // maybe no check
|
goto done;
|
||||||
}
|
}
|
||||||
if (storage.Read(&numTextures, sizeof(numTextures)) != SUCCESS) {
|
if (storage.Read(&numTextures, sizeof(numTextures)) != SUCCESS) {
|
||||||
goto done;
|
goto done;
|
||||||
@ -125,12 +125,12 @@ MxResult LegoPartPresenter::Read(MxDSChunk& p_chunk)
|
|||||||
|
|
||||||
delete[] textureName;
|
delete[] textureName;
|
||||||
textureName = NULL;
|
textureName = NULL;
|
||||||
delete texture; // maybe TODO
|
delete texture;
|
||||||
texture = NULL;
|
texture = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (storage.SetPosition(4) != SUCCESS) {
|
if (storage.SetPosition(4) != SUCCESS) {
|
||||||
goto done; // maybe no check
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_parts = new LegoNamedPartList();
|
m_parts = new LegoNamedPartList();
|
||||||
@ -190,7 +190,7 @@ MxResult LegoPartPresenter::Read(MxDSChunk& p_chunk)
|
|||||||
storage.SetPosition(roiInfoOffset);
|
storage.SetPosition(roiInfoOffset);
|
||||||
|
|
||||||
namedPart = new LegoNamedPart(roiName, lods);
|
namedPart = new LegoNamedPart(roiName, lods);
|
||||||
m_parts->Append(namedPart); // maybe temporary
|
m_parts->Append(namedPart);
|
||||||
|
|
||||||
delete[] roiName;
|
delete[] roiName;
|
||||||
roiName = NULL;
|
roiName = NULL;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user