--- trunk/src/applications/hydrodynamics/ShapeBuilder.cpp 2006/03/17 23:20:35 906 +++ trunk/src/applications/hydrodynamics/ShapeBuilder.cpp 2006/03/17 23:51:54 907 @@ -47,9 +47,9 @@ Shape* ShapeBuilder::createShape(StuntDouble* sd) { Shape* ShapeBuilder::createShape(StuntDouble* sd) { Shape* currShape = NULL; if (sd->isDirectionalAtom()) { - currShape = internalCreateShape(static_cast(sd)); + currShape = internalCreateShape(static_cast(sd)); } else if (sd->isAtom()) { - currShape = internalCreateShape(static_cast(sd)); + currShape = internalCreateShape(static_cast(sd)); } else if (sd->isRigidBody()) { currShape = internalCreateShape(static_cast(sd)); } @@ -122,9 +122,9 @@ Shape* ShapeBuilder::internalCreateShape(RigidBody* rb for (atom = rb->beginAtom(ai); atom != NULL; atom = rb->nextAtom(ai)) { Shape* currShape = NULL; if (atom->isDirectionalAtom()){ - currShape = internalCreateShape(static_cast(atom)); + currShape = internalCreateShape(static_cast(atom)); }else if (atom->isAtom()){ - currShape = internalCreateShape(static_cast(atom)); + currShape = internalCreateShape(static_cast(atom)); } if (currShape != NULL) compositeShape->addShape(currShape);