diff options
Diffstat (limited to 'src/live_effects/parameter/pointparam-knotholder.cpp')
| -rw-r--r-- | src/live_effects/parameter/pointparam-knotholder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/live_effects/parameter/pointparam-knotholder.cpp b/src/live_effects/parameter/pointparam-knotholder.cpp index 651054120..a8d357415 100644 --- a/src/live_effects/parameter/pointparam-knotholder.cpp +++ b/src/live_effects/parameter/pointparam-knotholder.cpp @@ -112,7 +112,7 @@ static void pointparam_knot_clicked_handler(SPKnot */*knot*/, guint /*state*/, P */ static void pointparam_knot_moved_handler(SPKnot */*knot*/, NR::Point const *p, guint /*state*/, PointParamKnotHolder *kh) { - NR::Matrix const i2d(from_2geom(sp_item_i2d_affine(kh->item))); + NR::Matrix const i2d(from_2geom(sp_item_i2d_affine(kh->getItem()))); NR::Point pos = (*p) / i2d; Inkscape::SVGOStringStream os; @@ -123,7 +123,7 @@ static void pointparam_knot_moved_handler(SPKnot */*knot*/, NR::Point const *p, static void pointparam_knot_ungrabbed_handler(SPKnot *knot, unsigned int /*state*/, PointParamKnotHolder *kh) { - NR::Matrix const i2d(from_2geom(sp_item_i2d_affine(kh->item))); + NR::Matrix const i2d(from_2geom(sp_item_i2d_affine(kh->getItem()))); NR::Point pos = sp_knot_position(knot) / i2d; Inkscape::SVGOStringStream os; |
