Commit eb6f907f authored by Lamar Moore's avatar Lamar Moore
Browse files

fix CSGObjectTest #21230

parent ac1c0d8f
......@@ -88,9 +88,9 @@ public:
ShapeInfo::GeometryShape objType;
double radius(-1.0), height(-1.0);
std::vector<V3D> pts;
auto handler = original->getGeometryHandler();
auto handler = original.getGeometryHandler();
TS_ASSERT(handler->hasShapeInfo());
original->GetObjectGeom(objType, pts, radius, height);
original.GetObjectGeom(objType, pts, radius, height);
TS_ASSERT_EQUALS(ShapeInfo::GeometryShape::SPHERE, objType);
CSGObject copy(original);
......@@ -114,9 +114,9 @@ public:
ShapeInfo::GeometryShape objType;
double radius(-1.0), height(-1.0);
std::vector<V3D> pts;
auto handler = original->getGeometryHandler();
auto handler = original.getGeometryHandler();
TS_ASSERT(handler->hasShapeInfo());
original->GetObjectGeom(objType, pts, radius, height);
original.GetObjectGeom(objType, pts, radius, height);
TS_ASSERT_EQUALS(ShapeInfo::GeometryShape::SPHERE, objType);
CSGObject lhs; // initialize
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment