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:
wandererfan
2019-01-21 13:06:02 -05:00
committed by Yorik van Havre
parent 13bf2c9672
commit 5a26558a9d
19 changed files with 11 additions and 12 deletions

View File

@@ -103,6 +103,7 @@ DrawViewDetail::DrawViewDetail()
static const char *dgroup = "Detail";
ADD_PROPERTY_TYPE(BaseView ,(0),dgroup,App::Prop_None,"2D View source for this Section");
BaseView.setScope(App::LinkScope::Global);
ADD_PROPERTY_TYPE(AnchorPoint ,(0,0,0) ,dgroup,App::Prop_None,"Location of detail in BaseView");
ADD_PROPERTY_TYPE(Radius,(10.0),dgroup, App::Prop_None, "Size of detail area");
ADD_PROPERTY_TYPE(Reference ,("1"),dgroup,App::Prop_None,"An identifier for this detail");