Update to Toposhape versions and fix shapebinder references with test (#16036)

* Update to Toposhape versions and fix shapebinder references with test

* Update src/Mod/PartDesign/PartDesignTests/TestShapeBinder.py

---------

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
This commit is contained in:
bgbsww
2024-08-26 11:50:18 -04:00
committed by GitHub
parent f10a8b63d1
commit 8c08549f5a
6 changed files with 46 additions and 6 deletions

View File

@@ -898,7 +898,7 @@ Reverse::Reverse()
App::DocumentObjectExecReturn* Reverse::execute()
{
App::DocumentObject* source = Source.getValue<App::DocumentObject*>();
Part::TopoShape topoShape = Part::Feature::getShape(source);
Part::TopoShape topoShape = Part::Feature::getTopoShape(source);
if (topoShape.isNull()) {
return new App::DocumentObjectExecReturn("No part object linked.");
}