added scenes/csg.fart, fixed bug in loading boolean objects in Scene-load.cc
git-svn-id: svn://anubis/fart/trunk@196 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
1 parent
09e97510d8
commit
88444e25b8
2 files changed
+231
-3
No files matched your search
+3
-3
@@ -471,13 +471,13 @@ refptr<Shape> Scene::processBool(refptr<Node> node)
|
||||
it != node->getChildren().end();
|
||||
it++)
|
||||
{
|
||||
if ( node->isShape() )
|
||||
if ( (*it)->isShape() )
|
||||
{
|
||||
switch (shapes_seen)
|
||||
{
|
||||
case 0: shape1 = processShape(node);
|
||||
case 0: shape1 = processShape(*it);
|
||||
break;
|
||||
case 1: shape2 = processShape(node);
|
||||
case 1: shape2 = processShape(*it);
|
||||
break;
|
||||
}
|
||||
shapes_seen++;
|
||||
|
||||
Reference in new issue
Block a user