summaryrefslogtreecommitdiffstats
path: root/src/object-edit.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2007-08-06 08:01:03 +0000
committercilix42 <cilix42@users.sourceforge.net>2007-08-06 08:01:03 +0000
commitfb491e2d6b0efcf65332bd13baf1bca429fdfe82 (patch)
treeeb1661358ca5e69f8b45b6ae305c87e99be4efae /src/object-edit.cpp
parent(Un-)Snapping of VPs by Shift-dragging; this makes it possible to separate pe... (diff)
downloadinkscape-fb491e2d6b0efcf65332bd13baf1bca429fdfe82.tar.gz
inkscape-fb491e2d6b0efcf65332bd13baf1bca429fdfe82.zip
Draw perspective lines; provide shortcuts to toggle their visibility and the corners where they are attached
(bzr r3393)
Diffstat (limited to '')
-rw-r--r--src/object-edit.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/object-edit.cpp b/src/object-edit.cpp
index e8390da20..f9e5c64fb 100644
--- a/src/object-edit.cpp
+++ b/src/object-edit.cpp
@@ -547,6 +547,7 @@ static void sp_3dbox_knot_set(SPItem *item, guint knot_id, Box3D::Axis direction
}
sp_3dbox_update_curves (box);
sp_3dbox_set_ratios (box);
+ sp_3dbox_update_perspective_lines ();
}
static NR::Point sp_3dbox_knot_get(SPItem *item, guint knot_id)
@@ -617,6 +618,7 @@ static void sp_3dbox_knot_set_uniformly(SPItem *item, guint knot_id, Box3D::Axis
}
sp_3dbox_update_curves (box);
sp_3dbox_set_ratios (box);
+ sp_3dbox_update_perspective_lines ();
}
static void sp_3dbox_knot0_set_uniformly(SPItem *item, NR::Point const &new_pos, NR::Point const &origin, guint state)