diff options
Diffstat (limited to 'src/vanishing-point.cpp')
| -rw-r--r-- | src/vanishing-point.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/vanishing-point.cpp b/src/vanishing-point.cpp index ea3626dac..0b4140a8b 100644 --- a/src/vanishing-point.cpp +++ b/src/vanishing-point.cpp @@ -229,6 +229,7 @@ vp_knot_moved_handler (SPKnot *knot, NR::Point const *ppointer, guint state, gpo d_new->reshapeBoxes (d_new->point, Box3D::XYZ); d_new->updateBoxReprs (); + d_new->updateZOrders (); drag->updateLines (); @@ -248,6 +249,7 @@ vp_knot_moved_handler (SPKnot *knot, NR::Point const *ppointer, guint state, gpo dragger->reshapeBoxes (p, Box3D::XYZ); dragger->updateBoxReprs (); + dragger->updateZOrders (); drag->updateLines (); @@ -545,6 +547,14 @@ VPDragger::updateBoxReprs () } } +void +VPDragger::updateZOrders () +{ + for (GSList *i = this->vps; i != NULL; i = i->next) { + Box3D::get_persp_of_VP ((VanishingPoint *) i->data)->update_z_orders (); + } +} + VPDrag::VPDrag (SPDesktop *desktop) { this->desktop = desktop; |
