summaryrefslogtreecommitdiffstats
path: root/src/object-edit.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2007-07-04 10:26:36 +0000
committercilix42 <cilix42@users.sourceforge.net>2007-07-04 10:26:36 +0000
commit667a24e083df3651723b6d78ed8058366a772e21 (patch)
treef5562860dfbbd33b0f37ff6519312a63d117811d /src/object-edit.cpp
parentAdded missing #ifdefs for HAVE_POPPLER_GLIB (diff)
downloadinkscape-667a24e083df3651723b6d78ed8058366a772e21.tar.gz
inkscape-667a24e083df3651723b6d78ed8058366a772e21.zip
New/updated 3D box auxiliary/convenience functions (e.g., allow (un)constrained movement of corners, too; determine midpoints of edges)
(bzr r3183)
Diffstat (limited to 'src/object-edit.cpp')
-rw-r--r--src/object-edit.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/object-edit.cpp b/src/object-edit.cpp
index c597f3a26..684c4404f 100644
--- a/src/object-edit.cpp
+++ b/src/object-edit.cpp
@@ -539,8 +539,7 @@ static void sp_3dbox_knot_set(SPItem *item, guint knot_id, Box3D::Axis direction
gdouble height = sp_document_height(doc);
if (direction == Box3D::Z) {
- sp_3dbox_move_corner_in_constrained_Z_direction (box, knot_id,
- NR::Point (new_pos[NR::X], height - new_pos[NR::Y]));
+ sp_3dbox_move_corner_in_Z_direction (box, knot_id, NR::Point (new_pos[NR::X], height - new_pos[NR::Y]));
} else {
sp_3dbox_move_corner_in_XY_plane (box, knot_id, NR::Point (new_pos[NR::X], height - new_pos[NR::Y]));
}