You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
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:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user