projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
For the help menu item, show an information dialog with a link to the documentation...
[synfig.git]
/
synfig-studio
/
trunk
/
src
/
gtkmm
/
state_draw.cpp
diff --git
a/synfig-studio/trunk/src/gtkmm/state_draw.cpp
b/synfig-studio/trunk/src/gtkmm/state_draw.cpp
index
9f7f823
..
6122064
100644
(file)
--- a/
synfig-studio/trunk/src/gtkmm/state_draw.cpp
+++ b/
synfig-studio/trunk/src/gtkmm/state_draw.cpp
@@
-755,8
+755,15
@@
StateDraw_Context::process_stroke(StrokeData stroke_data, WidthData width_data,
}
// If the bline only has one blinepoint, then there is nothing to do.
}
// If the bline only has one blinepoint, then there is nothing to do.
- if(bline.size()<=1)
+ if(bline.size() < 2)
+ {
+ // hide the 'stroke' line we were drawing, unless the user
+ // explicitly requests that they are kept
+ if (!getenv("SYNFIG_KEEP_ABORTED_DRAW_LINES"))
+ refresh_ducks();
+
return Smach::RESULT_OK;
return Smach::RESULT_OK;
+ }
if(region_flag)
return new_region(bline,radius);
if(region_flag)
return new_region(bline,radius);