Clear selection etc. after deleting items due to a failed
dependency; no telling what might be out of date after that. [git-p4: depot-paths = "//depot/solvespace/": change = 1730]solver
parent
30ad41f4a2
commit
4b6f8eabb6
|
@ -205,6 +205,10 @@ void SolveSpace::GenerateAll(bool andSolve) {
|
|||
deleted.constraints, deleted.constraints == 1 ? "" : "s",
|
||||
deleted.groups, deleted.groups == 1 ? "" : "s");
|
||||
memset(&deleted, 0, sizeof(deleted));
|
||||
// All sorts of interesting things could have happened; for example,
|
||||
// the active group or active workplane could have been deleted. So
|
||||
// clear all that out.
|
||||
GW.ClearSuper();
|
||||
}
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in New Issue