The box when additional things get deleted (because they depend on
whatever just got deleted explicitly) should be a message, not an error. [git-p4: depot-paths = "//depot/solvespace/": change = 2162]solver
parent
9a0591cfc4
commit
d8b84a9bf0
20
generate.cpp
20
generate.cpp
|
@ -317,16 +317,16 @@ void SolveSpace::GenerateAll(int first, int last, bool andFindFree) {
|
|||
// pruned any orphaned etc. objects, and the message loop for the
|
||||
// messagebox could allow us to repaint and crash. But now we must
|
||||
// be fine.
|
||||
Error("Additional sketch elements were deleted, because they "
|
||||
"depend on the element that was just deleted explicitly. "
|
||||
"These include: \n"
|
||||
" %d request%s\n"
|
||||
" %d constraint%s\n"
|
||||
" %d group%s\n\n"
|
||||
"Choose Edit -> Undo to undelete all elements.",
|
||||
deleted.requests, deleted.requests == 1 ? "" : "s",
|
||||
deleted.constraints, deleted.constraints == 1 ? "" : "s",
|
||||
deleted.groups, deleted.groups == 1 ? "" : "s");
|
||||
Message("Additional sketch elements were deleted, because they "
|
||||
"depend on the element that was just deleted explicitly. "
|
||||
"These include: \n"
|
||||
" %d request%s\n"
|
||||
" %d constraint%s\n"
|
||||
" %d group%s\n\n"
|
||||
"Choose Edit -> Undo to undelete all elements.",
|
||||
deleted.requests, deleted.requests == 1 ? "" : "s",
|
||||
deleted.constraints, deleted.constraints == 1 ? "" : "s",
|
||||
deleted.groups, deleted.groups == 1 ? "" : "s");
|
||||
}
|
||||
memset(&deleted, 0, sizeof(deleted));
|
||||
}
|
||||
|
|
|
@ -2,6 +2,8 @@ O(n*log(n)) assembly of edges into contours
|
|||
good color picker
|
||||
crude DXF, HPGL import
|
||||
a request to import a plane thing
|
||||
make export assemble only contours in same group
|
||||
make export rewrite fill color same as stroke color
|
||||
|
||||
-----
|
||||
rounding, as a special group
|
||||
|
|
Loading…
Reference in New Issue