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
@@ -109,6 +109,7 @@ DrawViewSection::DrawViewSection()
|
||||
|
||||
ADD_PROPERTY_TYPE(SectionSymbol ,("A"),sgroup,App::Prop_None,"The identifier for this section");
|
||||
ADD_PROPERTY_TYPE(BaseView ,(0),sgroup,App::Prop_None,"2D View source for this Section");
|
||||
BaseView.setScope(App::LinkScope::Global);
|
||||
ADD_PROPERTY_TYPE(SectionNormal ,(0,0,1.0) ,sgroup,App::Prop_None,"Section Plane normal direction"); //direction of extrusion of cutting prism
|
||||
ADD_PROPERTY_TYPE(SectionOrigin ,(0,0,0) ,sgroup,App::Prop_None,"Section Plane Origin");
|
||||
SectionDirection.setEnums(SectionDirEnums);
|
||||
|
||||
Reference in New Issue
Block a user