OpenToonz - An open-source full-featured 2D animation creation software
C
Fix layer type for vector exports
manongjohn62dda4250a52
diff --git a/toonz/sources/toonz/ocaio.cpp b/toonz/sources/toonz/ocaio.cppindex b2592639f..f70c9be19 100644--- a/toonz/sources/toonz/ocaio.cpp+++ b/toonz/sources/toonz/ocaio.cpp@@ -302,7 +302,7 @@ bool OCAData::buildLayer(QJsonObject &json, const QList<int> &rows,json["frames"] = jsonFrames;json["childLayers"] = QJsonArray();- json["type"] = "paintlayer";+ json["type"] = json["fileType"] == "svg" ? "vectorlayer" : "paintlayer";json["blendingMode"] = "normal"; // OT uses nodes Fx to make blending// possible, how to approach this?json["animated"] = jsonFrames.count() >= 2;