X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_geometry%2Foutline.cpp;h=6f9026c9fd94fd9ac852edc912f3d9be3f29d957;hb=82a468e2b0ba5b59f2c19ff42f81422d207f5225;hp=48e1fbcae9142917d736fc2c51d20465be30ec51;hpb=985b702e65d627cc512e0e87a4030f5f424eb1e4;p=synfig.git 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 --- 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 - if(round_tip[1] && !loop) + if(round_tip[1] && !loop && side_a.size()) { // 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 - if(round_tip[0] && !loop) + if(round_tip[0] && !loop && side_a.size()) { // remove the last point side_a.pop_back();