From e88b042a2654c978ddbde1cecb3f02c7dabf62bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Tr=C3=B6ger?= Date: Wed, 13 Jan 2016 17:14:11 +0100 Subject: [PATCH] Fix shape binder placement -- hidden for user -- inherited by linked part --- src/Mod/PartDesign/App/ShapeBinder.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Mod/PartDesign/App/ShapeBinder.cpp b/src/Mod/PartDesign/App/ShapeBinder.cpp index 63c9d9654a..8056462394 100644 --- a/src/Mod/PartDesign/App/ShapeBinder.cpp +++ b/src/Mod/PartDesign/App/ShapeBinder.cpp @@ -43,6 +43,7 @@ PROPERTY_SOURCE(PartDesign::ShapeBinder, Part::Feature) ShapeBinder::ShapeBinder() { ADD_PROPERTY_TYPE(Support, (0,0), "",(App::PropertyType)(App::Prop_None),"Support of the geometry"); + Placement.StatusBits.set(3, true); } ShapeBinder::~ShapeBinder() @@ -65,6 +66,7 @@ App::DocumentObjectExecReturn* ShapeBinder::execute(void) { ShapeBinder::getFilterdReferences(&Support, obj, subs); Shape.setValue(ShapeBinder::buildShapeFromReferences(obj, subs)._Shape); + Placement.setValue(obj->Placement.getValue()); } return Part::Feature::execute();