diff --git a/src/App/GeoFeature.cpp b/src/App/GeoFeature.cpp index c434b599e5..98e627f7c0 100644 --- a/src/App/GeoFeature.cpp +++ b/src/App/GeoFeature.cpp @@ -304,7 +304,7 @@ Base::Placement GeoFeature::getGlobalPlacement(App::DocumentObject* targetObj, App::DocumentObject* rootObj, const std::string& sub) { - if (!targetObj || !rootObj || sub.empty()) { + if (!targetObj || !rootObj) { return Base::Placement(); } std::vector names = Base::Tools::splitSubName(sub);