Verified Commit 8cd536f7 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

core/model: fix comparison

parent 9529b946
......@@ -255,7 +255,7 @@ namespace pinocchio
FrameIndex frame_id = getFrameId(;
if(frames[frame_id].type == frame.type)
if(frames[frame_id] == frame)
return (int)frame_id;
return -1;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment