diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2014-09-29 03:59:56 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2014-09-29 03:59:56 +0000 |
| commit | 17a960347e5c93f5a4ebf784ee46cd982c476d07 (patch) | |
| tree | 895a48b66d07687377977e2db8d60a239c9c28c4 | |
| parent | this patch fix the problem whith clips and mask update in live effects. (diff) | |
| download | inkscape-17a960347e5c93f5a4ebf784ee46cd982c476d07.tar.gz inkscape-17a960347e5c93f5a4ebf784ee46cd982c476d07.zip | |
A little fix in fillet-chamfer to hide knot helper path at hide the knots
(bzr r13341.1.230)
| -rw-r--r-- | src/live_effects/lpe-fillet-chamfer.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/live_effects/lpe-fillet-chamfer.cpp b/src/live_effects/lpe-fillet-chamfer.cpp index 4e7d62ff5..3f1fa382e 100644 --- a/src/live_effects/lpe-fillet-chamfer.cpp +++ b/src/live_effects/lpe-fillet-chamfer.cpp @@ -455,7 +455,11 @@ void LPEFilletChamfer::doOnApply(SPLPEItem const *lpeItem) void LPEFilletChamfer::doBeforeEffect(SPLPEItem const *lpeItem) { if (SP_IS_SHAPE(lpeItem)) { - fillet_chamfer_values.set_helper_size(helper_size); + if(hide_knots){ + fillet_chamfer_values.set_helper_size(0); + } else { + fillet_chamfer_values.set_helper_size(helper_size); + } fillet_chamfer_values.set_use_distance(use_knot_distance); fillet_chamfer_values.set_unit(unit.get_abbreviation()); SPCurve *c = SP_IS_PATH(lpeItem) ? static_cast<SPPath const *>(lpeItem) |
