diff options
Diffstat (limited to 'src/box3d.cpp')
| -rw-r--r-- | src/box3d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/box3d.cpp b/src/box3d.cpp index 93622be4c..9ccc969bc 100644 --- a/src/box3d.cpp +++ b/src/box3d.cpp @@ -401,7 +401,7 @@ box3d_snap (SPBox3D *box, int id, Proj::Pt3 const &pt_proj, Proj::Pt3 const &sta snap_pts[3] = diag2.closest_to (pt); } - gdouble const zoom = INKSCAPE.active_desktop()->current_zoom(); + gdouble const zoom = SP_ACTIVE_DESKTOP->current_zoom(); // determine the distances to all potential snapping points double snap_dists[MAX_POINT_COUNT]; |
