diff --git a/src/Mod/PartDesign/Gui/Command.cpp b/src/Mod/PartDesign/Gui/Command.cpp index 45e4077531..82b6a85149 100644 --- a/src/Mod/PartDesign/Gui/Command.cpp +++ b/src/Mod/PartDesign/Gui/Command.cpp @@ -36,6 +36,7 @@ #include #include +#include #include #include #include @@ -1755,6 +1756,12 @@ void CmdPartDesignAdditiveHelix::activated(int iMsg) if (!Feat) return; + // Creating a helix with default values isn't always valid but fixes + // itself when more values are set. So, this guard is used to suppress + // errors before the user is able to change the parameters. + Base::ObjectStatusLocker guard( + App::Document::IgnoreErrorOnRecompute, Feat->getDocument(), true); + // specific parameters for helix Gui::Command::updateActive();