summaryrefslogtreecommitdiffstats
path: root/src/sp-factory.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2016-11-05 17:10:22 +0000
committerjabiertxof <info@marker.es>2016-11-05 17:10:22 +0000
commit218c1acafd09c2b2469db082cf6e389869f9c48e (patch)
treec7324d131df0a85effbc548e1ee35446aff25fdd /src/sp-factory.cpp
parentFix angle constrain, thanks to vlada, Mc and LiamW (diff)
parentMove a header place (diff)
downloadinkscape-218c1acafd09c2b2469db082cf6e389869f9c48e.tar.gz
inkscape-218c1acafd09c2b2469db082cf6e389869f9c48e.zip
Update to trunk
(bzr r15142.1.30)
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")