summaryrefslogtreecommitdiffstats
path: root/src/live_effects
diff options
context:
space:
mode:
Diffstat (limited to 'src/live_effects')
-rw-r--r--src/live_effects/lpe-fillet-chamfer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live_effects/lpe-fillet-chamfer.cpp b/src/live_effects/lpe-fillet-chamfer.cpp
index 935e97ec9..cad67cea9 100644
--- a/src/live_effects/lpe-fillet-chamfer.cpp
+++ b/src/live_effects/lpe-fillet-chamfer.cpp
@@ -427,7 +427,7 @@ void LPEFilletChamfer::doBeforeEffect(SPLPEItem const *lpeItem)
++it;
}
Pathinfo path_info(original_pathv);
- size_t number_curves = path_info.numberCurves() + 1;
+ size_t number_curves = path_info.size();
if (pointwise && number_curves != sats.size()) {
pointwise->recalculateForNewPwd2(pwd2_in, original_pathv);
} else {