Code

switch to using shape_editor, instead of separate knotholders and listeners; fixes...
[inkscape.git] / src / vanishing-point.cpp
index c57232c74859f06aea965e7dc3e0d34c03f3e590..10f80fef1a206d3d790f59d44719b67c2d534551 100644 (file)
@@ -21,6 +21,7 @@
 #include "event-context.h"
 #include "xml/repr.h"
 #include "perspective-line.h"
+#include "shape-editor.h"
 
 #include "knotholder.h" // FIXME: can we avoid direct access to KnotHolder::update_knots?
 
@@ -614,8 +615,8 @@ VPDrag::updateBoxHandles ()
 
     SPEventContext *ec = inkscape_active_event_context();
     g_assert (ec != NULL);
-    if (ec->shape_knot_holder != NULL) {
-        ec->shape_knot_holder->update_knots();
+    if (ec->shape_editor != NULL) {
+        ec->shape_editor->update_knotholder();
     }
 }