Sketcher: Solver interface of activated state

This commit is contained in:
Abdullah Tahiri
2019-06-22 06:43:02 +02:00
committed by abdullahtahiriyo
parent 6a1863fe52
commit 3e72246e9f

View File

@@ -1506,7 +1506,7 @@ int Sketch::addConstraints(const std::vector<Constraint *> &ConstraintList,
int cid = 0;
for (std::vector<Constraint *>::const_iterator it = ConstraintList.begin();it!=ConstraintList.end();++it,++cid) {
if (!unenforceableConstraints[cid] && (*it)->Type != Block) {
if (!unenforceableConstraints[cid] && (*it)->Type != Block && (*it)->isActive == true) {
rtn = addConstraint (*it);
if(rtn == -1) {