Added JSON change method, which accepts a diff / sync JSON array, and applies the changes to a timeline and timeline associated properties and items. Also fixed many bugs on JSON type checking.

This commit is contained in:
Jonathan Thomas
2014-01-08 01:43:58 -06:00
parent 16479fba9d
commit 3c99e53dad
21 changed files with 395 additions and 118 deletions

View File

@@ -106,6 +106,6 @@ void EffectBase::SetJsonValue(Json::Value root) {
ClipBase::SetJsonValue(root);
// Set data from Json (if key is found)
if (root["order"] != Json::nullValue)
if (!root["order"].isNull())
Order(root["order"].asInt());
}