diff options
| author | Markus Engel <markus.engel@tum.de> | 2013-04-21 21:58:15 +0000 |
|---|---|---|
| committer | Markus Engel <markus.engel@tum.de> | 2013-04-21 21:58:15 +0000 |
| commit | bdde74bbab299f2ee448f1c55469c56a66fb01f7 (patch) | |
| tree | 45bccef1ec815708f9b54171e2d567344f155074 /src/desktop.cpp | |
| parent | More cleaning. (diff) | |
| download | inkscape-bdde74bbab299f2ee448f1c55469c56a66fb01f7.tar.gz inkscape-bdde74bbab299f2ee448f1c55469c56a66fb01f7.zip | |
Removed some unused files; more refactoring in EventContext tree.
(bzr r11608.1.104)
Diffstat (limited to 'src/desktop.cpp')
| -rw-r--r-- | src/desktop.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/desktop.cpp b/src/desktop.cpp index a9e608057..d999c780e 100644 --- a/src/desktop.cpp +++ b/src/desktop.cpp @@ -897,7 +897,10 @@ SPDesktop::set_display_area (double x0, double y0, double x1, double y1, double canvas->scrollTo(x0 * newscale - border, y1 * -newscale - border, clear); /* update perspective lines if we are in the 3D box tool (so that infinite ones are shown correctly) */ - sp_box3d_context_update_lines(event_context); + //sp_box3d_context_update_lines(event_context); + if (SP_IS_BOX3D_CONTEXT(event_context)) { + SP_BOX3D_CONTEXT(event_context)->_vpdrag->updateLines(); + } _widget->updateRulers(); _widget->updateScrollbars(_d2w.descrim()); @@ -1218,7 +1221,10 @@ SPDesktop::scroll_world (double dx, double dy, bool is_scrolling) canvas->scrollTo(viewbox.min()[Geom::X] - dx, viewbox.min()[Geom::Y] - dy, FALSE, is_scrolling); /* update perspective lines if we are in the 3D box tool (so that infinite ones are shown correctly) */ - sp_box3d_context_update_lines(event_context); + //sp_box3d_context_update_lines(event_context); + if (SP_IS_BOX3D_CONTEXT(event_context)) { + SP_BOX3D_CONTEXT(event_context)->_vpdrag->updateLines(); + } _widget->updateRulers(); _widget->updateScrollbars(_d2w.descrim()); |
