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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user