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:
Josh Holtrop 2010-10-06 20:17:40 +00:00
parent 1dc370c99f
commit d84fc2a96f

View File

@ -69,7 +69,13 @@ void Scene::processScene(refptr<Node> node)
}
/* 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)