summaryrefslogtreecommitdiffstats
path: root/src/display/sp-canvas.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-03-09 14:49:33 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-03-09 14:49:33 +0000
commita5260f225beb034d155643376a6985ddb35817f9 (patch)
tree0c7157445252255d628e66c0c01fc7077d360da0 /src/display/sp-canvas.cpp
parentskeletal-stroke: offset parameters are back again... optionaly proportional t... (diff)
downloadinkscape-a5260f225beb034d155643376a6985ddb35817f9.tar.gz
inkscape-a5260f225beb034d155643376a6985ddb35817f9.zip
Move 3D box code out of sp-canvas.cpp
(bzr r5008)
Diffstat (limited to 'src/display/sp-canvas.cpp')
-rw-r--r--src/display/sp-canvas.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/display/sp-canvas.cpp b/src/display/sp-canvas.cpp
index b042f0d68..86b1e9eab 100644
--- a/src/display/sp-canvas.cpp
+++ b/src/display/sp-canvas.cpp
@@ -34,7 +34,6 @@
#include <libnr/nr-matrix-ops.h>
#include <libnr/nr-convex-hull.h>
#include "prefs-utils.h"
-#include "box3d-context.h"
#include "inkscape.h"
#include "sodipodi-ctrlrect.h"
#if ENABLE_LCMS
@@ -2117,15 +2116,6 @@ sp_canvas_scroll_to (SPCanvas *canvas, double cx, double cy, unsigned int clear,
} else {
// scrolling as part of zoom; do nothing here - the next do_update will perform full redraw
}
-
- /* update perspective lines if we are in the 3D box tool (so that infinite ones are shown correctly) */
- SPEventContext *ec = inkscape_active_event_context();
- if (SP_IS_BOX3D_CONTEXT (ec)) {
- // We could avoid redraw during panning by checking the status of is_scrolling, but this is
- // neither faster nor does it get rid of artefacts, so we update PLs unconditionally
- Box3DContext *bc = SP_BOX3D_CONTEXT (ec);
- bc->_vpdrag->updateLines();
- }
}
/**