Skip to content

Commit 38ab27e

Browse files
committed
Allow clearing of the child_clip_id property
1 parent 5869eb8 commit 38ab27e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TrackedObjectBBox.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ void TrackedObjectBBox::SetJsonValue(const Json::Value root)
381381
protobufDataPath = root["protobuf_data_path"].asString();
382382

383383
// Set the id of the child clip
384-
if (!root["child_clip_id"].isNull() && root["child_clip_id"].asString() != "" && root["child_clip_id"].asString() != Id()){
384+
if (!root["child_clip_id"].isNull() && root["child_clip_id"].asString() != Id()){
385385
Clip* parentClip = (Clip *) ParentClip();
386386
if (parentClip && root["child_clip_id"].asString() != parentClip->Id()) {
387387
ChildClipId(root["child_clip_id"].asString());

0 commit comments

Comments
 (0)