summaryrefslogtreecommitdiffstats
path: root/src/knotholder.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2007-12-13 09:45:27 +0000
committercilix42 <cilix42@users.sourceforge.net>2007-12-13 09:45:27 +0000
commitcae2409c94b11d17643f7c19829e2653d759ff8e (patch)
treea8399ab9b3e8ff2570a92bef06e63f2307fef592 /src/knotholder.cpp
parentlibgdl: avoid setting a negative preferred height for dock items, (diff)
downloadinkscape-cae2409c94b11d17643f7c19829e2653d759ff8e.tar.gz
inkscape-cae2409c94b11d17643f7c19829e2653d759ff8e.zip
Fundamentally reworked version of the 3D box tool (among many other things, this fixes bugs #168900 and #168868). See mailing list for details. Sorry for this single large commit but it was unfeasible to keep the history.
(bzr r4224)
Diffstat (limited to 'src/knotholder.cpp')
-rw-r--r--src/knotholder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/knotholder.cpp b/src/knotholder.cpp
index 3c61e980b..161e779d1 100644
--- a/src/knotholder.cpp
+++ b/src/knotholder.cpp
@@ -238,7 +238,7 @@ static void knot_clicked_handler(SPKnot *knot, guint state, gpointer data)
if (SP_IS_RECT(item))
object_verb = SP_VERB_CONTEXT_RECT;
- else if (SP_IS_3DBOX(item))
+ else if (SP_IS_BOX3D(item))
object_verb = SP_VERB_CONTEXT_3DBOX;
else if (SP_IS_GENERICELLIPSE(item))
object_verb = SP_VERB_CONTEXT_ARC;
@@ -293,7 +293,7 @@ static void knot_ungrabbed_handler(SPKnot */*knot*/, unsigned int /*state*/, SPK
if (SP_IS_RECT(object))
object_verb = SP_VERB_CONTEXT_RECT;
- else if (SP_IS_3DBOX(object))
+ else if (SP_IS_BOX3D(object))
object_verb = SP_VERB_CONTEXT_3DBOX;
else if (SP_IS_GENERICELLIPSE(object))
object_verb = SP_VERB_CONTEXT_ARC;