Fix 1785598: studio crash when marking all Bline vertices as Off. Don't attempt...
[synfig.git] / synfig-core / trunk / src / modules / mod_geometry / outline.cpp
index 597fe82..69d635f 100644 (file)
@@ -171,6 +171,13 @@ void
 Outline::sync()
 {
        clear();
+
+       if (!bline.get_list().size())
+       {
+               synfig::warning(string("Outline::sync():")+_("No verticies in outline " + string("\"") + get_description() + string("\"")));
+               return;
+       }
+               
        try {
 #if 1