[FEM] Contours: fix task panel logic

- the ViewProvider sorting of the field can be different from the sorting in the dialog

- also hide a Contours property (I forgot this when the contours filter was added)
This commit is contained in:
Uwe
2023-02-14 05:15:52 +01:00
parent 212bbc7fa0
commit a6d1dc7fc0
3 changed files with 16 additions and 23 deletions

View File

@@ -477,7 +477,8 @@ FemPostContoursFilter::FemPostContoursFilter()
ADD_PROPERTY_TYPE(Field, (long(0)), "Clip", App::Prop_None, "The field used to clip");
ADD_PROPERTY_TYPE(
VectorMode, ((long)0), "Contours", App::Prop_None, "Select what vector field");
ADD_PROPERTY_TYPE(NoColor, (false), "Contours", App::Prop_None, "Don't color the contours");
ADD_PROPERTY_TYPE(NoColor, (false), "Contours",
PropertyType(Prop_Hidden), "Don't color the contours");
m_contourConstraints.LowerBound = 1;
m_contourConstraints.UpperBound = 1000;