summaryrefslogtreecommitdiffstats
path: root/src/perspective3d.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2007-08-07 06:56:36 +0000
committercilix42 <cilix42@users.sourceforge.net>2007-08-07 06:56:36 +0000
commitd8f7aa4697faeffccb32a45235378afc69f402fd (patch)
tree7074305d40ee73725f943aa84c41216ab487e170 /src/perspective3d.cpp
parentadd a way to set a radio toggle in aux toolbar via desktop, by the toggles id (diff)
downloadinkscape-d8f7aa4697faeffccb32a45235378afc69f402fd.tar.gz
inkscape-d8f7aa4697faeffccb32a45235378afc69f402fd.zip
Set z-orders of 3D box faces during dragging/resizing according to the perspective
(bzr r3409)
Diffstat (limited to 'src/perspective3d.cpp')
-rw-r--r--src/perspective3d.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/perspective3d.cpp b/src/perspective3d.cpp
index d37c9f3a0..bb4963d11 100644
--- a/src/perspective3d.cpp
+++ b/src/perspective3d.cpp
@@ -322,6 +322,14 @@ Perspective3D::update_box_reprs ()
}
}
+void
+Perspective3D::update_z_orders ()
+{
+ for (GSList *i = this->boxes; i != NULL; i = i->next) {
+ sp_3dbox_set_z_orders (SP_3DBOX (i->data));
+ }
+}
+
// swallow the list of boxes from the other perspective and delete it
void
Perspective3D::absorb (Perspective3D *other)