Skip to content
Snippets Groups Projects
Commit 83165bdd authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Fix: Move establishConstraints() before reset() of pointers

parent bb3cb3b1
No related branches found
No related tags found
1 merge request!157Kfpackmanager
......@@ -186,14 +186,14 @@ void ProcessorTracker::process(CaptureBasePtr const _incoming_ptr)
setKeyFrame(last_ptr_);
// Establish constraints
establishConstraints();
// Update pointers
reset();
origin_ptr_ = last_ptr_;
last_ptr_ = incoming_ptr_;
incoming_ptr_ = nullptr;
// Establish constraints
establishConstraints();
}
else
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment