Unhide surface props and set the filltype to read-only in data tab

I made the surface property (FillType and boundary) default again.
Status bit 2 is set on fill type to hide it in data tab.
This commit is contained in:
balazs-bamer
2015-02-08 17:39:55 +01:00
committed by wmayer
parent 0af6fc0894
commit e681dc3771

View File

@@ -49,8 +49,9 @@ const char* BSurf::FillTypeEnums[] = {"Invalid", "Sretched", "Coons", "Curved
BSurf::BSurf(): Feature()
{
ADD_PROPERTY_TYPE(FillType, ((long)0), "Surface", App::Prop_Hidden, "Boundary of the surface");
ADD_PROPERTY_TYPE(BoundaryList, (0,"Dummy"), "Surface", App::Prop_Hidden, "Boundary of the surface");
ADD_PROPERTY(FillType, ((long)0));
ADD_PROPERTY(BoundaryList, (0, "Dummy"));
FillType.StatusBits |= 4; // read-only in property editor
FillType.setEnums(FillTypeEnums);
}