diff --git a/src/Mod/Sketcher/App/SketchObject.cpp b/src/Mod/Sketcher/App/SketchObject.cpp index 8aeaa2a2447f..c4407221f432 100644 --- a/src/Mod/Sketcher/App/SketchObject.cpp +++ b/src/Mod/Sketcher/App/SketchObject.cpp @@ -10572,14 +10572,6 @@ void SketchObject::onDocumentRestored() try { restoreFinished(); Part::Part2DObject::onDocumentRestored(); - - if (getDocument()->testStatus(App::Document::Importing)) { - App::GeoFeatureGroupExtension *grp = nullptr; - auto grpObj = App::GeoFeatureGroupExtension::getGroupOfObject(this); - if (grpObj) - grp = grpObj->getExtensionByType(true); - } - } catch (...) { }