Skip to content
Snippets Groups Projects
Commit bee2317d authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

removed call to getTrajectory()->updateLastFrames() (automatically called before)

parent 3bd767b8
No related branches found
No related tags found
1 merge request!300Resolve "Robust remove() API"
...@@ -114,10 +114,6 @@ void FrameBase::remove() ...@@ -114,10 +114,6 @@ void FrameBase::remove()
if ( isKeyOrAux() ) if ( isKeyOrAux() )
removeStateBlocks(); removeStateBlocks();
if (getTrajectory()->getLastKeyFrame()->id() == this_F->id() || getTrajectory()->getLastKeyOrAuxFrame()->id() == this_F->id())
getTrajectory()->updateLastFrames();
// std::cout << "Removed F" << id() << std::endl; // std::cout << "Removed F" << id() << std::endl;
} }
} }
......
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