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
This commit is part of merge request !157. Comments created here will be created in the context of that merge request.
...@@ -186,14 +186,14 @@ void ProcessorTracker::process(CaptureBasePtr const _incoming_ptr) ...@@ -186,14 +186,14 @@ void ProcessorTracker::process(CaptureBasePtr const _incoming_ptr)
setKeyFrame(last_ptr_); setKeyFrame(last_ptr_);
// Establish constraints
establishConstraints();
// Update pointers // Update pointers
reset(); reset();
origin_ptr_ = last_ptr_; origin_ptr_ = last_ptr_;
last_ptr_ = incoming_ptr_; last_ptr_ = incoming_ptr_;
incoming_ptr_ = nullptr; incoming_ptr_ = nullptr;
// Establish constraints
establishConstraints();
} }
else 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