Fix out of scope warnings
- Links within TD were not set to Global scope. This caused problems when a Page was in a container, but Views were not in the container.
This commit is contained in:
committed by
Yorik van Havre
parent
13bf2c9672
commit
5a26558a9d
@@ -70,6 +70,7 @@ DrawProjGroup::DrawProjGroup(void)
|
||||
ADD_PROPERTY_TYPE(Source ,(0), group, App::Prop_None,"Shape to view");
|
||||
Source.setScope(App::LinkScope::Global);
|
||||
ADD_PROPERTY_TYPE(Anchor, (0), group, App::Prop_None, "The root view to align projections with");
|
||||
Anchor.setScope(App::LinkScope::Global);
|
||||
ProjectionType.setEnums(ProjectionTypeEnums);
|
||||
ADD_PROPERTY(ProjectionType, ((long)0));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user