projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix 1668051: Don't insert code for adding end or begin tip when there are less than...
[synfig.git]
/
synfig-core
/
trunk
/
src
/
modules
/
mod_geometry
/
outline.cpp
diff --git
a/synfig-core/trunk/src/modules/mod_geometry/outline.cpp
b/synfig-core/trunk/src/modules/mod_geometry/outline.cpp
index
48e1fbc
..
6f9026c
100644
(file)
--- a/
synfig-core/trunk/src/modules/mod_geometry/outline.cpp
+++ b/
synfig-core/trunk/src/modules/mod_geometry/outline.cpp
@@
-308,7
+308,7
@@
Outline::sync()
}
// Insert code for adding end tip
}
// Insert code for adding end tip
- if(round_tip[1] && !loop)
+ if(round_tip[1] && !loop
&& side_a.size()
)
{
// remove the last point
side_a.pop_back();
{
// remove the last point
side_a.pop_back();
@@
-335,7
+335,7
@@
Outline::sync()
side_a.push_back(side_b.back());
// Insert code for adding begin tip
side_a.push_back(side_b.back());
// Insert code for adding begin tip
- if(round_tip[0] && !loop)
+ if(round_tip[0] && !loop
&& side_a.size()
)
{
// remove the last point
side_a.pop_back();
{
// remove the last point
side_a.pop_back();