diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2016-11-04 18:47:51 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2016-11-04 18:47:51 +0000 |
| commit | 007bd6018e781bd54c9a7b68563375ffab21b336 (patch) | |
| tree | 95bb44d238f1afabe95d34a7d3fd0aa8135dac79 /src | |
| parent | Execution of update_po_files.sh (diff) | |
| download | inkscape-007bd6018e781bd54c9a7b68563375ffab21b336.tar.gz inkscape-007bd6018e781bd54c9a7b68563375ffab21b336.zip | |
Render meshes with old syntax using camelCase.
(bzr r15207)
Diffstat (limited to 'src')
| -rw-r--r-- | src/sp-factory.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sp-factory.cpp b/src/sp-factory.cpp index f98291378..9d46c9a84 100644 --- a/src/sp-factory.cpp +++ b/src/sp-factory.cpp @@ -183,8 +183,14 @@ SPObject *SPFactory::createObject(std::string const& id) } else if (id == "svg:meshgradient") // SVG 2 ret = new SPMeshGradient; + else if (id == "svg:meshPatch") { + ret = new SPMeshpatch; + std::cerr << "Warning: <meshPatch> and <meshRow> have been renamed <meshpatch> and <meshrow>" << std::endl; + } else if (id == "svg:meshpatch") ret = new SPMeshpatch; + else if (id == "svg:meshRow") + ret = new SPMeshrow; else if (id == "svg:meshrow") ret = new SPMeshrow; else if (id == "svg:metadata") |
