summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-perspective_path.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-08-01 19:18:17 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-08-01 19:18:17 +0000
commit83d336efc7f8c134e7ca07eab2f165c7362fc63d (patch)
tree667dd8aaa5981991940fd9bc505682ff44d77205 /src/live_effects/lpe-perspective_path.cpp
parentmake redundant. use correct fields of cubic bezier point array (diff)
downloadinkscape-83d336efc7f8c134e7ca07eab2f165c7362fc63d.tar.gz
inkscape-83d336efc7f8c134e7ca07eab2f165c7362fc63d.zip
remove more NR:: from live_effects code
(bzr r6515)
Diffstat (limited to 'src/live_effects/lpe-perspective_path.cpp')
-rw-r--r--src/live_effects/lpe-perspective_path.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/live_effects/lpe-perspective_path.cpp b/src/live_effects/lpe-perspective_path.cpp
index ff487f235..2eef0cd5b 100644
--- a/src/live_effects/lpe-perspective_path.cpp
+++ b/src/live_effects/lpe-perspective_path.cpp
@@ -170,8 +170,8 @@ KnotHolderEntityOffset::knot_set(Geom::Point const &p, Geom::Point const &origin
Geom::Point const s = snap_knot_position(p);
- lpe->offsetx.param_set_value((s - origin)[NR::X]);
- lpe->offsety.param_set_value(-(s - origin)[NR::Y]); // additional minus sign is due to coordinate system flipping
+ lpe->offsetx.param_set_value((s - origin)[Geom::X]);
+ lpe->offsety.param_set_value(-(s - origin)[Geom::Y]); // additional minus sign is due to coordinate system flipping
// FIXME: this should not directly ask for updating the item. It should write to SVG, which triggers updating.
sp_lpe_item_update_patheffect (SP_LPE_ITEM(item), false, true);