From 667a24e083df3651723b6d78ed8058366a772e21 Mon Sep 17 00:00:00 2001 From: Maximilian Albert Date: Wed, 4 Jul 2007 10:26:36 +0000 Subject: New/updated 3D box auxiliary/convenience functions (e.g., allow (un)constrained movement of corners, too; determine midpoints of edges) (bzr r3183) --- src/object-edit.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/object-edit.cpp') 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])); } -- cgit v1.2.3