for FEM constraints allow global links

This commit is contained in:
wmayer
2017-10-11 18:48:13 +02:00
parent 60c01ad2ce
commit 76eba3a579

View File

@@ -78,6 +78,8 @@ Constraint::Constraint()
ADD_PROPERTY_TYPE(References,(0,0),"Constraint",(App::PropertyType)(App::Prop_None),"Elements where the constraint is applied");
ADD_PROPERTY_TYPE(NormalDirection,(Base::Vector3d(0,0,1)),"Constraint",App::PropertyType(App::Prop_ReadOnly|App::Prop_Output),"Normal direction pointing outside of solid");
ADD_PROPERTY_TYPE(Scale,(1),"Base",App::PropertyType(App::Prop_Output),"Scale used for drawing constraints"); //OvG: Add scale parameter inherited by all derived constraints
References.setScope(App::LinkScope::Global);
}
Constraint::~Constraint()