Cosmetic change in FemConstraint.cpp

This commit is contained in:
jrheinlaender 2013-10-31 17:28:54 +01:00 committed by Stefan Tröger
parent bd484ca7ca
commit 53189fd36f

View File

@ -298,7 +298,7 @@ const bool Constraint::getCylinder(double &radius, double &height, Base::Vector3
return false;
App::DocumentObject* obj = Objects[0];
Part::Feature* feat = static_cast<Part::Feature*>(obj);
Part::TopoShape toposhape = feat->Shape.getShape();
const Part::TopoShape& toposhape = feat->Shape.getShape();
if (toposhape.isNull())
return false;
TopoDS_Shape sh = toposhape.getSubShape(SubElements[0].c_str());