GCS: Prevent that reference constraints affect the result of a redundant solving
================================================================================ Solves the part of this described bug relating to reference constraints affecting the diagnosis of redundant constraints: https://forum.freecadweb.org/viewtopic.php?p=410195#p410195
This commit is contained in:
committed by
abdullahtahiriyo
parent
ffaa92d29b
commit
7055b5ef0f
@@ -4204,7 +4204,7 @@ SolverReportingManager::Manager().LogToFile("GCS::System::diagnose()\n");
|
||||
clistTmp.reserve(clist.size());
|
||||
for (std::vector<Constraint *>::iterator constr=clist.begin();
|
||||
constr != clist.end(); ++constr) {
|
||||
if (skipped.count(*constr) == 0)
|
||||
if ((*constr)->isDriving() && skipped.count(*constr) == 0)
|
||||
clistTmp.push_back(*constr);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user