summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlvin Penner <penner@vaxxine.com>2012-02-04 22:29:50 +0000
committerapenner <penner@vaxxine.com>2012-02-04 22:29:50 +0000
commita2d641dd876ed891622fda6f681dc831db2470e5 (patch)
tree9c2703bee5464f859337398e84c45c54e33adbb4 /src
parentimplement some switches between visual bbox and geometric bbox, depending on ... (diff)
downloadinkscape-a2d641dd876ed891622fda6f681dc831db2470e5.tar.gz
inkscape-a2d641dd876ed891622fda6f681dc831db2470e5.zip
reverting change to seltrans.cpp in rev 10935, as requested
(bzr r10936)
Diffstat (limited to 'src')
-rw-r--r--src/seltrans.cpp12
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;