diff -r a3ee23db8393 -r 31873c3cbdbc src/ldDocument.cpp --- a/src/ldDocument.cpp Sun Oct 04 06:31:36 2015 +0300 +++ b/src/ldDocument.cpp Sun Oct 04 06:43:02 2015 +0300 @@ -442,6 +442,18 @@ obj->setHeight (tokens[8].toLong()); return obj; } + else if (tokens[2] == "BEZIER_CURVE") + { + CheckTokenCount (tokens, 16); + CheckTokenNumbers (tokens, 3, 15); + LDBezierCurve* obj = LDSpawn(); + obj->setColor (StringToNumber (tokens[3])); + + for (int i = 0; i < 4; ++i) + obj->setVertex (i, ParseVertex (tokens, 4 + (i * 3))); + + return obj; + } } // Just a regular comment: