summaryrefslogtreecommitdiffstats
path: root/src/persp3d.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2013-11-13 00:00:04 +0000
committerJabiertxof <jtx@jtx.marker.es>2013-11-13 00:00:04 +0000
commit152a0caf7e216e7ceafeed20822500c385e3e2df (patch)
treea3b5d60e08f3bd8221ba2e50eea80b087e5d541a /src/persp3d.cpp
parentUpdate to trunk (diff)
parentfix C++11 compilation. There A LOT of const_casts in this file... :-( (diff)
downloadinkscape-152a0caf7e216e7ceafeed20822500c385e3e2df.tar.gz
inkscape-152a0caf7e216e7ceafeed20822500c385e3e2df.zip
Update to trunk
(bzr r12588.1.26)
Diffstat (limited to 'src/persp3d.cpp')
-rw-r--r--src/persp3d.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/persp3d.cpp b/src/persp3d.cpp
index 530da0799..b10e5f23b 100644
--- a/src/persp3d.cpp
+++ b/src/persp3d.cpp
@@ -17,7 +17,7 @@
#include "document-private.h"
#include "document-undo.h"
#include "vanishing-point.h"
-#include "box3d-context.h"
+#include "ui/tools/box3d-tool.h"
#include "box3d.h"
#include "xml/document.h"
#include "xml/node-event-vector.h"
@@ -140,9 +140,9 @@ void Persp3D::set(unsigned key, gchar const *value) {
}
// FIXME: Is this the right place for resetting the draggers?
- SPEventContext *ec = inkscape_active_event_context();
+ Inkscape::UI::Tools::ToolBase *ec = inkscape_active_event_context();
if (SP_IS_BOX3D_CONTEXT(ec)) {
- Box3DContext *bc = SP_BOX3D_CONTEXT(ec);
+ Inkscape::UI::Tools::Box3dTool *bc = SP_BOX3D_CONTEXT(ec);
bc->_vpdrag->updateDraggers();
bc->_vpdrag->updateLines();
bc->_vpdrag->updateBoxHandles();