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.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/live_effects/lpe-fillet-chamfer.cpp b/src/live_effects/lpe-fillet-chamfer.cpp
index cad67cea9..a846e4bad 100644
--- a/src/live_effects/lpe-fillet-chamfer.cpp
+++ b/src/live_effects/lpe-fillet-chamfer.cpp
@@ -429,7 +429,16 @@ void LPEFilletChamfer::doBeforeEffect(SPLPEItem const *lpeItem)
Pathinfo path_info(original_pathv);
size_t number_curves = path_info.size();
if (pointwise && number_curves != sats.size()) {
- pointwise->recalculateForNewPwd2(pwd2_in, original_pathv);
+ bool active = true;
+ bool hidden = false;
+ bool is_time = sats[0].isTime;
+ bool mirror_knots = sats[0].hasMirror;
+ double amount = 0.0;
+ double degrees = 0.0;
+ int steps = 0;
+ Satellite sat(sats[0].satelliteType, is_time, active, mirror_knots,
+ hidden, amount, degrees, steps);
+ pointwise->recalculateForNewPwd2(pwd2_in, original_pathv, sat);
} else {
pointwise = new Pointwise(pwd2_in, sats);
}