summaryrefslogtreecommitdiffstats
path: root/src/perspective3d.cpp
diff options
context:
space:
mode:
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)