diff options
| author | bulia byak <buliabyak@gmail.com> | 2009-01-08 05:37:37 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2009-01-08 05:37:37 +0000 |
| commit | c57f5f4adf5e749634b1fbe3e60e40ab580019b3 (patch) | |
| tree | 2667b222ed674e61f803ffb9068133a9bbcdafe8 /src/vanishing-point.cpp | |
| parent | move shape_editor from node context to the parent class, event context (diff) | |
| download | inkscape-c57f5f4adf5e749634b1fbe3e60e40ab580019b3.tar.gz inkscape-c57f5f4adf5e749634b1fbe3e60e40ab580019b3.zip | |
switch to using shape_editor, instead of separate knotholders and listeners; fixes a lot of crashes, simplifies code
(bzr r7097)
Diffstat (limited to '')
| -rw-r--r-- | src/vanishing-point.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/vanishing-point.cpp b/src/vanishing-point.cpp index c57232c74..10f80fef1 100644 --- a/src/vanishing-point.cpp +++ b/src/vanishing-point.cpp @@ -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(); } } |
