You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Fixed attaching a clip to Tracker and ObjectDetection
Some problems still persists - Saved projects are not loading properly - There is an aspect ratio issue when attaching an emoji to the ObjectDetection
This commit is contained in:
@@ -394,10 +394,9 @@ void TrackedObjectBBox::SetJsonValue(const Json::Value root)
|
||||
protobufDataPath = root["protobuf_data_path"].asString();
|
||||
|
||||
// Set the id of the child clip
|
||||
// Does not allow to link to the parent clip
|
||||
if (!root["child_clip_id"].isNull() && root["box_id"].asString() != ""){
|
||||
if (!root["child_clip_id"].isNull() && root["child_clip_id"].asString() != ""){
|
||||
Clip* parentClip = (Clip *) ParentClip();
|
||||
|
||||
|
||||
if(parentClip && (root["child_clip_id"].asString() != parentClip->Id())){
|
||||
ChildClipId(root["child_clip_id"].asString());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user