Preserve True/Projected state on save/restore

This commit is contained in:
WandererFan
2016-05-28 19:19:54 +12:00
committed by wmayer
parent 7f7e63dfe0
commit d73ffaa55b
11 changed files with 101 additions and 81 deletions

View File

@@ -80,12 +80,12 @@ void Measurement::clear()
measureType = Invalid;
}
bool Measurement::hasReferences()
bool Measurement::has3DReferences()
{
return (References3D.getSize() > 0);
}
/// Convenience Methods for adding points
///add a 3D reference (obj+sub) to end of list
int Measurement::addReference3D(App::DocumentObject *obj, const char* subName)
{
std::vector<App::DocumentObject*> objects = References3D.getValues();