Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2021-03-29 18:01:40 +0300
committerAntonio Vazquez <blendergit@gmail.com>2021-03-29 18:02:25 +0300
commitca516e78c4fe1378f0cd462ee0ed7438adb9b3f1 (patch)
treed83aad2afdd55e0f4d162536dc68f780c241296c
parentf99e703df3ae91cae444acca466fc0482195626b (diff)
Fix T87013: GPencil SVG export wrong svg xml header settings
The attribute was missing.
-rw-r--r--source/blender/io/gpencil/intern/gpencil_io_export_svg.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/io/gpencil/intern/gpencil_io_export_svg.cc b/source/blender/io/gpencil/intern/gpencil_io_export_svg.cc
index 8747419d0aa..c62764cca06 100644
--- a/source/blender/io/gpencil/intern/gpencil_io_export_svg.cc
+++ b/source/blender/io/gpencil/intern/gpencil_io_export_svg.cc
@@ -119,6 +119,7 @@ void GpencilExporterSVG::create_document_header()
main_node_.append_attribute("version").set_value("1.0");
main_node_.append_attribute("x").set_value("0px");
main_node_.append_attribute("y").set_value("0px");
+ main_node_.append_attribute("xmlns").set_value("http://www.w3.org/2000/svg");
std::string width;
std::string height;