diff --git a/src/Gui/CommandFeat.cpp b/src/Gui/CommandFeat.cpp index 4ffafc7c40..3252ba52c6 100644 --- a/src/Gui/CommandFeat.cpp +++ b/src/Gui/CommandFeat.cpp @@ -186,14 +186,8 @@ void StdCmdToggleFreeze::activated(int iMsg) obj->unfreeze(); for (auto child : obj->getInListRecursive()) child->unfreeze(); - if (obj->isDerivedFrom(Base::Type::fromName("PartDesign::Body"))) { - for (auto child : obj->getOutListRecursive()) - child->unfreeze(); - } - else { - for (auto child : obj->getOutList()) - child->unfreeze(); - } + for (auto child : obj->getOutListRecursive()) + child->unfreeze(); } else { obj->freeze(); for (auto parent : obj->getOutListRecursive())