+ introduce proper enum for property status to replace plain integers

This commit is contained in:
wmayer
2016-01-01 15:36:24 +01:00
parent 342198ea87
commit 50d7793442
15 changed files with 80 additions and 50 deletions

View File

@@ -70,8 +70,8 @@ ViewFeature::ViewFeature()
ADD_PROPERTY_TYPE(Height,(0), "View", type, "The height of the point view");
ADD_PROPERTY_TYPE(Direction ,(Base::Vector3d(0,0,1)), "View", type, "The direction of the point view");
Width.StatusBits.set(2, true);
Height.StatusBits.set(2, true);
Width.setStatus(App::Property::ReadOnly, true);
Height.setStatus(App::Property::ReadOnly, true);
}
ViewFeature::~ViewFeature()