mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-13 15:16:28 +00:00
Lots of work to get MP2 repacking functional
This commit is contained in:
@@ -217,16 +217,6 @@ void CScene::SetActiveArea(CGameArea *pArea)
|
||||
}
|
||||
}
|
||||
|
||||
CScriptLayer *pGenLayer = mpArea->GeneratedObjectsLayer();
|
||||
if (pGenLayer)
|
||||
{
|
||||
for (u32 iObj = 0; iObj < pGenLayer->NumInstances(); iObj++)
|
||||
{
|
||||
CScriptObject *pObj = pGenLayer->InstanceByIndex(iObj);
|
||||
CreateScriptNode(pObj);
|
||||
}
|
||||
}
|
||||
|
||||
// Ensure script nodes have valid positions + build light lists
|
||||
for (CSceneIterator It(this, eScriptNode, true); It; ++It)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user