Part: ruled surface, address issue with link support where link was transformed

This commit is contained in:
mwganson
2022-04-12 20:31:02 -05:00
committed by Uwe
parent 7f7e33edc3
commit 00f6f2db17

View File

@@ -83,7 +83,7 @@ App::DocumentObjectExecReturn* RuledSurface::getShape(const App::PropertyLinkSub
TopoDS_Shape& shape) const
{
App::DocumentObject* obj = link.getValue();
const Part::TopoShape part = Part::Feature::getShape(obj, "", false, 0, 0, true, false);
const Part::TopoShape part = Part::Feature::getTopoShape(obj);
if (part.isNull()) {
return new App::DocumentObjectExecReturn("No shape linked.");
}