From d798a62d8347d3191aac351eb7ebef44d9fa64a3 Mon Sep 17 00:00:00 2001 From: Jabier Arraiza Cenoz Date: Thu, 25 Jun 2015 19:52:51 +0200 Subject: Fix for the bug 1468396. Fix the new bug noticed by su_v Fixed bugs: - https://launchpad.net/bugs/1468396 (bzr r14219) --- src/live_effects/parameter/filletchamferpointarray.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/live_effects/parameter/filletchamferpointarray.cpp') diff --git a/src/live_effects/parameter/filletchamferpointarray.cpp b/src/live_effects/parameter/filletchamferpointarray.cpp index c469b5fdd..43352507e 100644 --- a/src/live_effects/parameter/filletchamferpointarray.cpp +++ b/src/live_effects/parameter/filletchamferpointarray.cpp @@ -270,6 +270,9 @@ void FilletChamferPointArrayParam::recalculate_knots( Piecewise > const &pwd2_in) { bool change = false; + if(_vector.size() == 0){ + return; + } PathVector pathv = path_from_piecewise(pwd2_in, 0.001); if (!pathv.empty()) { std::vector result; -- cgit v1.2.3