diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2017-02-10 10:06:54 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2017-02-10 10:06:54 +0000 |
| commit | 52059c7c7f059a0928efd48d0ef545dabc30a3a7 (patch) | |
| tree | 620a65601dde1d89852d970ae5e9555c7d570ecf /src/sp-object.cpp | |
| parent | Extensions: Fix for r15483 (diff) | |
| download | inkscape-52059c7c7f059a0928efd48d0ef545dabc30a3a7.tar.gz inkscape-52059c7c7f059a0928efd48d0ef545dabc30a3a7.zip | |
Do not delete presentation attributes. Styling source is now tracked
and not automatically converted to properties in a style attribute.
Fixed bugs:
- https://launchpad.net/bugs/1663511
(bzr r15500)
Diffstat (limited to 'src/sp-object.cpp')
| -rw-r--r-- | src/sp-object.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/sp-object.cpp b/src/sp-object.cpp index 7807703f6..9f15935ac 100644 --- a/src/sp-object.cpp +++ b/src/sp-object.cpp @@ -1105,7 +1105,10 @@ Inkscape::XML::Node* SPObject::write(Inkscape::XML::Document *doc, Inkscape::XML * possibly we should write property attributes instead of a style * attribute. */ - sp_style_unset_property_attrs (this); + // With the changes to preserves style source this is no longer needed + // and the above comment no longer applies. I leave it here until these + // change are well tested. + // sp_style_unset_property_attrs (this); } #ifdef OBJECT_TRACE |
