diff --git a/src/shape-editor.cpp b/src/shape-editor.cpp
index bfb0e3c0c61ae905ce78730dc83bdca39e31a205..3575d3405148372ad10240780cc37e8cac58c91c 100644 (file)
--- a/src/shape-editor.cpp
+++ b/src/shape-editor.cpp
eventy - this->curvepoint_event[NR::Y]);
NR::Point const delta_dt(this->desktop->w2d(delta_w));
- sp_nodepath_curve_drag (this->grab_node, this->grab_t, delta_dt); //!!! FIXME: which nodepath?!!! also uses current!!!
+ sp_nodepath_curve_drag (this->nodepath, this->grab_node, this->grab_t, delta_dt);
this->curvepoint_event[NR::X] = x;
this->curvepoint_event[NR::Y] = y;
sp_node_selected_set_line_type(this->nodepath, code);
}
-void ShapeEditor::move_nodes_screen(gdouble dx, gdouble dy) {
- sp_node_selected_move_screen(this->nodepath, dx, dy);
+void ShapeEditor::move_nodes_screen(SPDesktop *desktop, gdouble dx, gdouble dy) {
+ sp_node_selected_move_screen(desktop, this->nodepath, dx, dy);
}
void ShapeEditor::move_nodes(gdouble dx, gdouble dy) {
sp_node_selected_move(this->nodepath, dx, dy);