diff --git a/src/Mod/Fem/Gui/Command.cpp b/src/Mod/Fem/Gui/Command.cpp index 45e572ea91..9a71678678 100644 --- a/src/Mod/Fem/Gui/Command.cpp +++ b/src/Mod/Fem/Gui/Command.cpp @@ -2019,7 +2019,7 @@ bool CmdFemPostWarpVectorFilter::isActive() return false; // only activate if a result is either a post pipeline or a possible other filter if (getSelection().getObjectsOfType().size() == 1) - return true; + return true; else if (getSelection().getObjectsOfType().size() == 1) return true; else if (getSelection().getObjectsOfType().size() == 1) @@ -2432,6 +2432,6 @@ void CreateFemCommands() rcCmdMgr.addCommand(new CmdFemPostFunctions); rcCmdMgr.addCommand(new CmdFemPostPipelineFromResult); rcCmdMgr.addCommand(new CmdFemPostScalarClipFilter); - rcCmdMgr.addCommand(new CmdFemPostWarpVectorFilter); + rcCmdMgr.addCommand(new CmdFemPostWarpVectorFilter); #endif } diff --git a/src/Mod/Fem/Gui/TaskPostBoxes.cpp b/src/Mod/Fem/Gui/TaskPostBoxes.cpp index fe24296f87..621e8b324b 100644 --- a/src/Mod/Fem/Gui/TaskPostBoxes.cpp +++ b/src/Mod/Fem/Gui/TaskPostBoxes.cpp @@ -1381,7 +1381,7 @@ void TaskPostContours::updateFields() else { getTypedView()->Field.setValue("None"); } - + } void TaskPostContours::onFieldsChanged(int idx) diff --git a/src/Mod/Fem/Gui/TaskPostBoxes.h b/src/Mod/Fem/Gui/TaskPostBoxes.h index 4f1fa1a23c..d046975a77 100644 --- a/src/Mod/Fem/Gui/TaskPostBoxes.h +++ b/src/Mod/Fem/Gui/TaskPostBoxes.h @@ -333,7 +333,7 @@ private: // *************************************************************************** // clip filter -class TaskPostClip : public TaskPostBox +class TaskPostClip : public TaskPostBox { Q_OBJECT diff --git a/src/Mod/Fem/Gui/ViewProviderFemPostFilter.cpp b/src/Mod/Fem/Gui/ViewProviderFemPostFilter.cpp index c991c80253..a8803ee909 100644 --- a/src/Mod/Fem/Gui/ViewProviderFemPostFilter.cpp +++ b/src/Mod/Fem/Gui/ViewProviderFemPostFilter.cpp @@ -155,7 +155,7 @@ void ViewProviderFemPostCut::setupTaskDialog(TaskDlgPost* dlg) // scalar clip filter PROPERTY_SOURCE(FemGui::ViewProviderFemPostScalarClip, FemGui::ViewProviderFemPostObject) -ViewProviderFemPostScalarClip::ViewProviderFemPostScalarClip() +ViewProviderFemPostScalarClip::ViewProviderFemPostScalarClip() { sPixmap = "FEM_PostFilterClipScalar"; }