diff --git a/src/Mod/PartDesign/Gui/CommandBody.cpp b/src/Mod/PartDesign/Gui/CommandBody.cpp index febbb73f90e6..1125b9d76e17 100644 --- a/src/Mod/PartDesign/Gui/CommandBody.cpp +++ b/src/Mod/PartDesign/Gui/CommandBody.cpp @@ -315,6 +315,8 @@ void CmdPartDesignBody::activated(int iMsg) camera->viewBoundingBox(bbox, aspectratio, 1.0f); } } +#else + Q_UNUSED(viewAll) #endif updateActive();