diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2007-08-07 06:56:36 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2007-08-07 06:56:36 +0000 |
| commit | d8f7aa4697faeffccb32a45235378afc69f402fd (patch) | |
| tree | 7074305d40ee73725f943aa84c41216ab487e170 /src/box3d-context.cpp | |
| parent | add a way to set a radio toggle in aux toolbar via desktop, by the toggles id (diff) | |
| download | inkscape-d8f7aa4697faeffccb32a45235378afc69f402fd.tar.gz inkscape-d8f7aa4697faeffccb32a45235378afc69f402fd.zip | |
Set z-orders of 3D box faces during dragging/resizing according to the perspective
(bzr r3409)
Diffstat (limited to 'src/box3d-context.cpp')
| -rw-r--r-- | src/box3d-context.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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()); |
