actually saving off the parsed shapes helps a lot
git-svn-id: svn://anubis/fart/branches/scene-file-scripting@342 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
parent
1dc370c99f
commit
d84fc2a96f
@ -69,7 +69,13 @@ void Scene::processScene(refptr<Node> node)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* then any general items */
|
/* then any general items */
|
||||||
processGeneralItems(node);
|
vector<ShapeRef> shapes = processGeneralItems(node);
|
||||||
|
for (vector<ShapeRef>::iterator it = shapes.begin();
|
||||||
|
it != shapes.end();
|
||||||
|
it++)
|
||||||
|
{
|
||||||
|
m_shapes.push_back(*it);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ShapeRef Scene::processShape(refptr<Node> node)
|
ShapeRef Scene::processShape(refptr<Node> node)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user