We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5869eb8 commit 38ab27eCopy full SHA for 38ab27e
src/TrackedObjectBBox.cpp
@@ -381,7 +381,7 @@ void TrackedObjectBBox::SetJsonValue(const Json::Value root)
381
protobufDataPath = root["protobuf_data_path"].asString();
382
383
// 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()){
+ if (!root["child_clip_id"].isNull() && root["child_clip_id"].asString() != Id()){
385
Clip* parentClip = (Clip *) ParentClip();
386
if (parentClip && root["child_clip_id"].asString() != parentClip->Id()) {
387
ChildClipId(root["child_clip_id"].asString());
0 commit comments