+ fixes #0001874: Scripted constraints not evaluated correctly

This commit is contained in:
wmayer
2014-12-23 15:32:03 +01:00
parent c918ef7e40
commit 3fa8a1ed2b
7 changed files with 25 additions and 4 deletions

View File

@@ -321,6 +321,12 @@ Base::Axis SketchObject::getAxis(int axId) const
return Base::Axis();
}
void SketchObject::acceptGeometry()
{
Constraints.acceptGeometry(getCompleteGeometry());
rebuildVertexIndex();
}
int SketchObject::addGeometry(const std::vector<Part::Geometry *> &geoList)
{
const std::vector< Part::Geometry * > &vals = getInternalGeometry();