LinkScope clean up

This commit is contained in:
WandererFan
2017-12-18 10:21:36 -05:00
committed by wmayer
parent 309178f2ff
commit d9b71fb754
10 changed files with 13 additions and 7 deletions

View File

@@ -55,6 +55,7 @@ DrawViewArch::DrawViewArch(void)
static const char *group = "Arch view";
ADD_PROPERTY_TYPE(Source ,(0),group,App::Prop_None,"Section Plane object for this view");
Source.setScope(App::LinkScope::Global);
ADD_PROPERTY_TYPE(AllOn ,(false),group,App::Prop_None,"If hidden objects must be shown or not");
RenderMode.setEnums(RenderModeEnums);
ADD_PROPERTY_TYPE(RenderMode, ((long)0),group,App::Prop_None,"The render mode to use");