diff options
| author | John Smith <john.smith7545@yahoo.com> | 2012-11-29 00:37:30 +0000 |
|---|---|---|
| committer | John Smith <john.smith7545@yahoo.com> | 2012-11-29 00:37:30 +0000 |
| commit | 32598fdd4d1e85228e46242d37f83c739591a078 (patch) | |
| tree | 1ceb6e7e072e5be58bb917655eea9610b0e2104e /src/main.cpp | |
| parent | Fix for 171466 : F/S set swatch preview column name (diff) | |
| download | inkscape-32598fdd4d1e85228e46242d37f83c739591a078.tar.gz inkscape-32598fdd4d1e85228e46242d37f83c739591a078.zip | |
Fix for 1073128 : Command line PNG export fails if FeFlood filter primitive is present
(bzr r11913)
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 844aded56..be8049cf5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1032,6 +1032,9 @@ static int sp_process_file_list(GSList *fl) g_warning("Specified document %s cannot be opened (does not exist or not a valid SVG file)", filename); retVal++; } else { + + inkscape_add_document(doc); + if (sp_vacuum_defs) { doc->vacuumDocument(); } @@ -1099,6 +1102,8 @@ static int sp_process_file_list(GSList *fl) do_query_dimension (doc, false, sp_query_x? Geom::X : Geom::Y, sp_query_id); } + inkscape_remove_document(doc); + delete doc; } fl = g_slist_remove(fl, fl->data); |
