diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2007-09-01 23:36:14 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2007-09-01 23:36:14 +0000 |
| commit | 731a203a18d1028cefeea2bb19aa727149e0a4c4 (patch) | |
| tree | 1d5dce4db226b7c905c99fe684e30c2f5842ce67 /src/box3d.cpp | |
| parent | relabel widgets for (hopefully) clarity (diff) | |
| download | inkscape-731a203a18d1028cefeea2bb19aa727149e0a4c4.tar.gz inkscape-731a203a18d1028cefeea2bb19aa727149e0a4c4.zip | |
Decent support for setting the direction of infinite VPs via the toolbar and partial fix for wrong undo behaviour (?)
(bzr r3659)
Diffstat (limited to 'src/box3d.cpp')
| -rw-r--r-- | src/box3d.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/box3d.cpp b/src/box3d.cpp index 1942ea3d6..e47aa73b3 100644 --- a/src/box3d.cpp +++ b/src/box3d.cpp @@ -234,7 +234,13 @@ sp_3dbox_update(SPObject *object, SPCtx *ctx, guint flags) { if (flags & (SP_OBJECT_MODIFIED_FLAG | SP_OBJECT_STYLE_MODIFIED_FLAG | SP_OBJECT_VIEWPORT_MODIFIED_FLAG)) { SP3DBox *box = SP_3DBOX(object); - sp_3dbox_link_to_existing_paths (box, SP_OBJECT_REPR(object)); + Inkscape::XML::Node *repr = SP_OBJECT_REPR(object); + sp_3dbox_link_to_existing_paths (box, repr); + SP3DBoxContext *bc = SP_3DBOX_CONTEXT (inkscape_active_event_context()); + bc->_vpdrag->updateDraggers(); + // FIXME: Should we update the corners here, too? Maybe this is the reason why the handles + // are off after an undo/redo! On the other hand, if we do so we get warnings about + // updates occuring while other updats are in progress ... } /* Invoke parent method */ |
