summaryrefslogtreecommitdiffstats
path: root/src/perspective3d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/perspective3d.cpp')
-rw-r--r--src/perspective3d.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/perspective3d.cpp b/src/perspective3d.cpp
index 421725bdb..c7592a06f 100644
--- a/src/perspective3d.cpp
+++ b/src/perspective3d.cpp
@@ -321,6 +321,16 @@ Perspective3D::reshape_boxes (Box3D::Axis axes)
}
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 ()
{
for (GSList *i = this->boxes; i != NULL; i = i->next) {