Fix T87013: GPencil SVG export wrong svg xml header settings

The attribute was missing.
This commit is contained in:
Antonio Vazquez 2021-03-29 17:01:40 +02:00
parent f99e703df3
commit ca516e78c4
Notes: blender-bot 2023-02-13 23:17:13 +01:00
Referenced by issue #87013, Grease pencil SVG export does not open in browsers, wrong svg xml header settings
1 changed files with 1 additions and 0 deletions

View File

@ -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;