From d8b84a9bf04fdccc374d3c5d95049a06b540b28c Mon Sep 17 00:00:00 2001 From: Jonathan Westhues Date: Sun, 13 Jun 2010 20:42:47 -0800 Subject: [PATCH] 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] --- generate.cpp | 20 ++++++++++---------- wishlist.txt | 2 ++ 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/generate.cpp b/generate.cpp index 3030478..1f01bff 100644 --- a/generate.cpp +++ b/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)); } diff --git a/wishlist.txt b/wishlist.txt index f0dffc2..bf89f1b 100644 --- a/wishlist.txt +++ b/wishlist.txt @@ -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