summaryrefslogtreecommitdiffstats
path: root/src/widgets/desktop-widget.cpp
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2013-09-19 02:05:00 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2013-09-19 02:05:00 +0000
commitf6e99d7d1b76dd7a7933f55ba095bdcb534f81b3 (patch)
treecbee5d1eec2e1afe8c3f8033d528cab4504c3c49 /src/widgets/desktop-widget.cpp
parentEncapsulate the shared memory hack for Cairo and GdkPixbuf in a class (diff)
parentAdded gpl notice (diff)
downloadinkscape-f6e99d7d1b76dd7a7933f55ba095bdcb534f81b3.tar.gz
inkscape-f6e99d7d1b76dd7a7933f55ba095bdcb534f81b3.zip
Merge C++ification of the SP tree by Markus Engel
(bzr r12532)
Diffstat (limited to 'src/widgets/desktop-widget.cpp')
-rw-r--r--src/widgets/desktop-widget.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/widgets/desktop-widget.cpp b/src/widgets/desktop-widget.cpp
index 6493da84d..e9c2e6ef3 100644
--- a/src/widgets/desktop-widget.cpp
+++ b/src/widgets/desktop-widget.cpp
@@ -1809,7 +1809,10 @@ sp_desktop_widget_adjustment_value_changed (GtkAdjustment */*adj*/, SPDesktopWid
sp_desktop_widget_update_rulers (dtw);
/* update perspective lines if we are in the 3D box tool (so that infinite ones are shown correctly) */
- sp_box3d_context_update_lines(dtw->desktop->event_context);
+ //sp_box3d_context_update_lines(dtw->desktop->event_context);
+ if (SP_IS_BOX3D_CONTEXT(dtw->desktop->event_context)) {
+ SP_BOX3D_CONTEXT(dtw->desktop->event_context)->_vpdrag->updateLines();
+ }
dtw->update = 0;
}