summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/satellitesarray.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2016-06-18 16:53:51 +0000
committerjabiertxof <info@marker.es>2016-06-18 16:53:51 +0000
commit38a1a4d45114a681408e763c3afec79f0bc21940 (patch)
tree8d51eece5c253fbfadee4ad1b353ca5d23b02d12 /src/live_effects/parameter/satellitesarray.cpp
parentPre fixing selected points (diff)
downloadinkscape-38a1a4d45114a681408e763c3afec79f0bc21940.tar.gz
inkscape-38a1a4d45114a681408e763c3afec79f0bc21940.zip
fixing bug moving nodes
(bzr r13645.1.162)
Diffstat (limited to 'src/live_effects/parameter/satellitesarray.cpp')
-rw-r--r--src/live_effects/parameter/satellitesarray.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/live_effects/parameter/satellitesarray.cpp b/src/live_effects/parameter/satellitesarray.cpp
index 71c69c6c5..8c86f64ca 100644
--- a/src/live_effects/parameter/satellitesarray.cpp
+++ b/src/live_effects/parameter/satellitesarray.cpp
@@ -356,10 +356,7 @@ void FilletChamferKnotHolderEntity::knot_set(Geom::Point const &p,
_pparam->_knot_reset_helper *= Geom::Affine(_pparam->_helper_size * 0.1,0,0,_pparam->_helper_size * 0.1,0,0) * Geom::Translate(pathv[path_index][curve_index].initialPoint());
}
_pparam->_vector[path_index][curve_index] = satellite;
- SPLPEItem *splpeitem = dynamic_cast<SPLPEItem *>(item);
- if (splpeitem) {
- sp_lpe_item_update_patheffect(splpeitem, false, false);
- }
+ sp_lpe_item_update_patheffect(SP_LPE_ITEM(item), false, false);
}
Geom::Point FilletChamferKnotHolderEntity::knot_get() const
@@ -391,7 +388,6 @@ Geom::Point FilletChamferKnotHolderEntity::knot_get() const
}
this->knot->show();
if (is_mirror) {
- tmp_point = satellite.getPosition(pathv[path_index][curve_index]);
gint previous_index = curve_index - 1;
if(curve_index == 0 && pathv[path_index].closed()){
previous_index = pathv[path_index].size() - 1;
@@ -418,6 +414,7 @@ Geom::Point FilletChamferKnotHolderEntity::knot_get() const
tmp_point = satellite.getPosition(pathv[path_index][curve_index]);
}
Geom::Point const canvas_point = tmp_point;
+ _pparam->updateCanvasIndicators();
return canvas_point;
}