Skip to content
Snippets Groups Projects

Removed wrong addConstrainedBy()

Merged Joan Vallvé Navarro requested to merge feature/fix_constrained_by into devel
2 files
+ 0
17
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -152,17 +152,6 @@ void ProcessorTrackerFeature::establishConstraints()
feature_in_last ->addConstraint(ctr_ptr);
feature_in_origin->addConstrainedBy(ctr_ptr);
if (ctr_ptr != nullptr) // constraint links
{
FrameBasePtr frm = ctr_ptr->getFrameOtherPtr();
if (frm)
frm->addConstrainedBy(ctr_ptr);
CaptureBasePtr cap = ctr_ptr->getCaptureOtherPtr();
if (cap)
cap->addConstrainedBy(ctr_ptr);
}
WOLF_DEBUG( "Constraint: track: " , feature_in_last->trackId(),
" origin: " , feature_in_origin->id() ,
" from last: " , feature_in_last->id() );
Loading