FEM: fix trailing newlines
This commit is contained in:
@@ -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<Fem::FemPostPipeline>().size() == 1)
|
||||
return true;
|
||||
return true;
|
||||
else if (getSelection().getObjectsOfType<Fem::FemPostClipFilter>().size() == 1)
|
||||
return true;
|
||||
else if (getSelection().getObjectsOfType<Fem::FemPostCutFilter>().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
|
||||
}
|
||||
|
||||
@@ -1381,7 +1381,7 @@ void TaskPostContours::updateFields()
|
||||
else {
|
||||
getTypedView<ViewProviderFemPostObject>()->Field.setValue("None");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
void TaskPostContours::onFieldsChanged(int idx)
|
||||
|
||||
@@ -333,7 +333,7 @@ private:
|
||||
|
||||
// ***************************************************************************
|
||||
// clip filter
|
||||
class TaskPostClip : public TaskPostBox
|
||||
class TaskPostClip : public TaskPostBox
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user