LinkScope clean up

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

View File

@@ -65,6 +65,7 @@ TYPESYSTEM_SOURCE(Measure::Measurement, Base::BaseClass)
Measurement::Measurement()
{
measureType = Invalid;
References3D.setScope(App::LinkScope::Global);
}
Measurement::~Measurement()
@@ -229,6 +230,7 @@ TopoDS_Shape Measurement::getShape(App::DocumentObject *obj , const char *subNam
}
}
//TODO:: add lengthX, lengthY (and lengthZ??) support
// Methods for distances (edge length, two points, edge and a point
double Measurement::length() const
{