Author: Carlos Lopez <[email protected]>
Date: Tue Nov 22 21:38:34 2011 +0100
Avoid crash when dash enabled and DList is empty.
---
.../src/modules/mod_geometry/advanced_outline.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/synfig-core/src/modules/mod_geometry/advanced_outline.cpp
b/synfig-core/src/modules/mod_geometry/advanced_outline.cpp
index fab03f1..a4d8f30 100644
--- a/synfig-core/src/modules/mod_geometry/advanced_outline.cpp
+++ b/synfig-core/src/modules/mod_geometry/advanced_outline.cpp
@@ -158,7 +158,7 @@ Advanced_Outline::sync()
// only allowing visible widthpoints.
vector<WidthPoint> fdwplist;
bool homogeneous(homogeneous_);
- bool dash_enabled(dash_enabled_);
+ bool dash_enabled(dash_enabled_ && dilist.size());
Real dash_offset(dash_offset_);
int dstart_tip(WidthPoint::TYPE_FLAT),
dend_tip(WidthPoint::TYPE_FLAT);
const bool blineloop(bline_.get_loop());
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl