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/box3d-context.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/box3d-context.cpp') diff --git a/src/box3d-context.cpp b/src/box3d-context.cpp index a753f5f50..388e2037d 100644 --- a/src/box3d-context.cpp +++ b/src/box3d-context.cpp @@ -581,6 +581,8 @@ static void sp_3dbox_drag(SP3DBoxContext &bc, guint state) } bc.item->updateRepr(); + sp_3dbox_set_z_orders (SP_3DBOX (bc.item)); + // TODO: It would be nice to show the VPs during dragging, but since there is no selection // at this point (only after finishing the box), we must do this "manually" bc._vpdrag->updateDraggers(); @@ -603,6 +605,7 @@ static void sp_3dbox_drag(SP3DBoxContext &bc, guint state) NR::Point origin_w(ec->xp, ec->yp); NR::Point origin(desktop->w2d(origin_w)); sp_3dbox_position_set(bc); + sp_3dbox_set_z_orders (SP_3DBOX (bc.item)); // status text //GString *Ax = SP_PX_TO_METRIC_STRING(origin[NR::X], desktop->namedview->getDefaultMetric()); -- cgit v1.2.3