diff options
| author | Martin Owens <doctormo@gmail.com> | 2013-06-15 13:29:48 +0000 |
|---|---|---|
| committer | Martin Owens <doctormo@gmail.com> | 2013-06-15 13:29:48 +0000 |
| commit | c403397e07cf418588296f1f6fb479aca862c518 (patch) | |
| tree | 5a522fec44249f8178394e6db9a93b21a6714c83 /src/sp-symbol.cpp | |
| parent | Allow svg elements to be ungrouped (diff) | |
| download | inkscape-c403397e07cf418588296f1f6fb479aca862c518.tar.gz inkscape-c403397e07cf418588296f1f6fb479aca862c518.zip | |
Big change in symbols ui and selection chemistry.
(bzr r12374)
Diffstat (limited to 'src/sp-symbol.cpp')
| -rw-r--r-- | src/sp-symbol.cpp | 7 |
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; } |
