5 Mar
2008
5 Mar
'08
5:20 p.m.
I've just committed a bug fix for bug #168283: "possible to create empty paths via text -> object to path". Should the change be merged into the 0.46 branch? If so, the release wardens simply need to apply the attached diff.
Thanks Joel
6 Mar
6 Mar
10:08 p.m.
Thanks, applied and committed for the release branch.
Bryce
On Wed, Mar 05, 2008 at 05:20:51PM +0000, Joel Holdsworth wrote:
I've just committed a bug fix for bug #168283: "possible to create empty paths via text -> object to path". Should the change be merged into the 0.46 branch? If so, the release wardens simply need to apply the attached diff.
Thanks Joel
Index: src/path-chemistry.cpp
--- src/path-chemistry.cpp (revision 17662) +++ src/path-chemistry.cpp (working copy) @@ -372,6 +372,14 @@ if (!curve) return NULL;
- // Prevent empty paths from being added to the document
- // otherwise we end up with zomby markup in the SVG file
- if(curve->end <= 0)
- {
sp_curve_unref(curve);
return NULL;
- }
- Inkscape::XML::Document *xml_doc = SP_OBJECT_REPR(item)->document(); Inkscape::XML::Node *repr = xml_doc->createElement("svg:path"); /* Transformation */
6144
Age (days ago)
6145
Last active (days ago)
1 comments
2 participants
participants (2)
-
Bryce Harrington
-
Joel Holdsworth