From a2d641dd876ed891622fda6f681dc831db2470e5 Mon Sep 17 00:00:00 2001 From: Alvin Penner Date: Sat, 4 Feb 2012 17:29:50 -0500 Subject: reverting change to seltrans.cpp in rev 10935, as requested (bzr r10936) --- src/seltrans.cpp | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'src/seltrans.cpp') diff --git a/src/seltrans.cpp b/src/seltrans.cpp index e5a61abd0..922d13a72 100644 --- a/src/seltrans.cpp +++ b/src/seltrans.cpp @@ -281,12 +281,8 @@ void Inkscape::SelTrans::grab(Geom::Point const &p, gdouble x, gdouble y, bool s // First, determine the bounding box _bbox = selection->bounds(_snap_bbox_type); + _visual_bbox = selection->visualBounds(); // Used for correctly scaling the strokewidth _geometric_bbox = selection->geometricBounds(); - if (prefs->getInt("/tools/bounding_box") == 0) { - _visual_bbox = selection->visualBounds(); // Used for correctly scaling the strokewidth - } else { - _visual_bbox = _geometric_bbox; - } _point = p; if (_geometric_bbox) { @@ -657,11 +653,7 @@ void Inkscape::SelTrans::_updateVolatileState() //Update the bboxes _bbox = selection->bounds(_snap_bbox_type); - if (Inkscape::Preferences::get()->getInt("/tools/bounding_box") == 0) { - _visual_bbox = selection->visualBounds(); - } else { - _visual_bbox = selection->geometricBounds(); - } + _visual_bbox = selection->visualBounds(); if (!_bbox) { _empty = true; -- cgit v1.2.3