summaryrefslogtreecommitdiffstats
path: root/src/sp-factory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-factory.cpp')
-rw-r--r--src/sp-factory.cpp6
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")