Fixed some missing reset calls.
This commit is contained in:
@ -210,7 +210,7 @@ int main(int argc, char **argv)
|
||||
auto &item = dataset[i];
|
||||
auto &poses_2d = all_poses_2d[i];
|
||||
|
||||
if (old_scene != item["scene"] || old_id + take_interval < item["index"])
|
||||
if (old_scene != item["scene"] || old_id + take_interval != item["index"])
|
||||
{
|
||||
// Reset last poses if scene changes
|
||||
tri_model->reset();
|
||||
|
||||
Reference in New Issue
Block a user