summaryrefslogtreecommitdiffstats
path: root/src/sp-symbol.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2013-07-04 15:27:06 +0000
committerJaviertxo <jtx@jtx.marker.es>2013-07-04 15:27:06 +0000
commitb8ef835cd10460cf7548bae4970b395e9d7767d9 (patch)
tree12e14b42023385cf8bf8192c2ae482a4f59deff1 /src/sp-symbol.cpp
parentIm not sure what changes are (diff)
parentShape calculations. do not quantize the coordinates. (Bug 168158) (diff)
downloadinkscape-b8ef835cd10460cf7548bae4970b395e9d7767d9.tar.gz
inkscape-b8ef835cd10460cf7548bae4970b395e9d7767d9.zip
Upadate to trunk
(bzr r11950.1.122)
Diffstat (limited to 'src/sp-symbol.cpp')
-rw-r--r--src/sp-symbol.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/sp-symbol.cpp b/src/sp-symbol.cpp
index 989a5b7f3..a56de2e5a 100644
--- a/src/sp-symbol.cpp
+++ b/src/sp-symbol.cpp
@@ -371,6 +371,8 @@ static Geom::OptRect sp_symbol_bbox(SPItem const *item, Geom::Affine const &tran
SPSymbol const *symbol = SP_SYMBOL(item);
Geom::OptRect bbox;
+ // We don't need a bounding box for Symbols dialog when selecting
+ // symbols. They have no canvas location. But cloned symbols are.
if (symbol->cloned) {
// Cloned <symbol> is actually renderable
@@ -378,11 +380,6 @@ static Geom::OptRect sp_symbol_bbox(SPItem const *item, Geom::Affine const &tran
Geom::Affine const a( symbol->c2p * transform );
bbox = ((SPItemClass *) (sp_symbol_parent_class))->bbox(item, a, type);
}
- } else {
- // Need bounding box for Symbols dialog
-
- Geom::Affine const a;
- bbox = ((SPItemClass *) (sp_symbol_parent_class))->bbox(item, a, type);
}
return bbox;
}