evaluating stmt_expression's in processGeneralItems()
git-svn-id: svn://anubis/fart/branches/scene-file-scripting@333 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
parent
01a713af98
commit
e23b762a01
@ -281,6 +281,10 @@ vector<ShapeRef> Scene::processGeneralItems(refptr<Node> node)
|
|||||||
{
|
{
|
||||||
incoming = processForNode(*it);
|
incoming = processForNode(*it);
|
||||||
}
|
}
|
||||||
|
else if ( (*it)->isExpression() )
|
||||||
|
{
|
||||||
|
(*it)->getNumber(); /* evaluate the expression */
|
||||||
|
}
|
||||||
while (incoming.size() > 0)
|
while (incoming.size() > 0)
|
||||||
{
|
{
|
||||||
shapes.push_back(incoming[0]);
|
shapes.push_back(incoming[0]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user