From d8f7aa4697faeffccb32a45235378afc69f402fd Mon Sep 17 00:00:00 2001 From: Maximilian Albert Date: Tue, 7 Aug 2007 06:56:36 +0000 Subject: Set z-orders of 3D box faces during dragging/resizing according to the perspective (bzr r3409) --- src/perspective3d.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/perspective3d.cpp') 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) -- cgit v1.2.3