diff --git a/src/App/GeoFeature.cpp b/src/App/GeoFeature.cpp index 383196629a..7db5db7a11 100644 --- a/src/App/GeoFeature.cpp +++ b/src/App/GeoFeature.cpp @@ -295,6 +295,8 @@ Base::Placement GeoFeature::getGlobalPlacement(App::DocumentObject* targetObj, App::Document* doc = rootObj->getDocument(); Base::Placement plc = getPlacementFromProp(rootObj, "Placement"); + if (targetObj == rootObj) return plc; + for (auto& name : names) { App::DocumentObject* obj = doc->getObject(name.c_str()); if (!obj) {