diff options
| author | Alvin Penner <penner@vaxxine.com> | 2012-02-04 22:29:50 +0000 |
|---|---|---|
| committer | apenner <penner@vaxxine.com> | 2012-02-04 22:29:50 +0000 |
| commit | a2d641dd876ed891622fda6f681dc831db2470e5 (patch) | |
| tree | 9c2703bee5464f859337398e84c45c54e33adbb4 /src/seltrans.cpp | |
| parent | implement some switches between visual bbox and geometric bbox, depending on ... (diff) | |
| download | inkscape-a2d641dd876ed891622fda6f681dc831db2470e5.tar.gz inkscape-a2d641dd876ed891622fda6f681dc831db2470e5.zip | |
reverting change to seltrans.cpp in rev 10935, as requested
(bzr r10936)
Diffstat (limited to 'src/seltrans.cpp')
| -rw-r--r-- | src/seltrans.cpp | 12 |
1 files changed, 2 insertions, 10 deletions
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; |
