summaryrefslogtreecommitdiffstats
path: root/src/box3d-context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/box3d-context.cpp')
-rw-r--r--src/box3d-context.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/box3d-context.cpp b/src/box3d-context.cpp
index f66647ef7..edc45e8d1 100644
--- a/src/box3d-context.cpp
+++ b/src/box3d-context.cpp
@@ -669,11 +669,13 @@ static void sp_box3d_drag(Box3DContext &bc, guint /*state*/)
box->orig_corner0 = bc.drag_origin_proj;
box->orig_corner7 = bc.drag_ptC_proj;
+ box3d_check_for_swapped_coords(box);
+
/* we need to call this from here (instead of from box3d_position_set(), for example)
because z-order setting must not interfere with display updates during undo/redo */
box3d_set_z_orders (box);
- box3d_position_set(SP_BOX3D(bc.item));
+ box3d_position_set(box);
// status text
//GString *Ax = SP_PX_TO_METRIC_STRING(origin[NR::X], desktop->namedview->getDefaultMetric());