diff --git a/src/perspective3d.cpp b/src/perspective3d.cpp
index 421725bdbd40018f6fd25506f773c9ee1ea5b6d7..c7592a06f0702e4749cdcbe981473bf6414cafcb 100644 (file)
--- a/src/perspective3d.cpp
+++ b/src/perspective3d.cpp
}
}
+void
+Perspective3D::toggle_boxes (Box3D::Axis axis)
+{
+ get_vanishing_point (axis)->toggle_parallel();
+ for (GSList *i = this->boxes; i != NULL; i = i->next) {
+ sp_3dbox_reshape_after_VP_toggling (SP_3DBOX (i->data), axis);
+ }
+ update_box_reprs();
+}
+
void
Perspective3D::update_box_reprs ()
{