In GenerateAll, accept explicitly permitted redundant sketches as OK.
Before this commit, they were considered unsolved and were re-solved over and over unnecessarily.pull/4/head
parent
febe0f5282
commit
a44a4665a8
|
@ -161,7 +161,7 @@ void SolveSpaceUI::GenerateAll(GenerateType type, bool andFindFree, bool genForB
|
||||||
// since all groups after the active group are hidden.
|
// since all groups after the active group are hidden.
|
||||||
for(i = 0; i < SK.groupOrder.n; i++) {
|
for(i = 0; i < SK.groupOrder.n; i++) {
|
||||||
Group *g = SK.GetGroup(SK.groupOrder.elem[i]);
|
Group *g = SK.GetGroup(SK.groupOrder.elem[i]);
|
||||||
if((!g->clean) || (g->solved.how != System::SOLVED_OKAY)) {
|
if((!g->clean) || !g->IsSolvedOkay()) {
|
||||||
first = min(first, i);
|
first = min(first, i);
|
||||||
}
|
}
|
||||||
if(g->h.v == SS.GW.activeGroup.v) {
|
if(g->h.v == SS.GW.activeGroup.v) {
|
||||||
|
|
Loading…
Reference in New Issue