diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2014-02-25 16:08:30 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2014-02-25 16:08:30 +0000 |
| commit | 903d68d4df1de1ae21e124d6e9c12770085ea087 (patch) | |
| tree | 1c1c649d40c2ed9c81c97405c1a590898971cad3 /src/verbs.cpp | |
| parent | Move filter reordering closer to the layers.cpp patern of reordering xml (diff) | |
| download | inkscape-903d68d4df1de1ae21e124d6e9c12770085ea087.tar.gz inkscape-903d68d4df1de1ae21e124d6e9c12770085ea087.zip | |
Rewrite of symbol creation code. Partial fix for 1201325.
Symbols cannot have 'tranform' attribute. The old code copied the group
'transform' attribute to the symbol. The new code creates an intermediate
group with the required 'transform' if it is not a simple translation. A
simple translation is removed and applied instead to the new <use> element.
Multiple objects can now be turned into a symbol without first grouping the
objects. (At the cost that multiple groups can no longer be turned into
multiple symbols at one go.) This better matches marker and pattern creation.
(bzr r13057)
Diffstat (limited to 'src/verbs.cpp')
| -rw-r--r-- | src/verbs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/verbs.cpp b/src/verbs.cpp index 8b333383f..653d5f892 100644 --- a/src/verbs.cpp +++ b/src/verbs.cpp @@ -996,7 +996,7 @@ void EditVerb::perform(SPAction *action, void *data) sp_selection_untile(dt); break; case SP_VERB_EDIT_SYMBOL: - sp_selection_symbols(dt); + sp_selection_symbol(dt); break; case SP_VERB_EDIT_UNSYMBOL: sp_selection_unsymbol(dt); |
