for i, o in enumerate(unique_objects):
obj_out = open_output(os.path.join(res_dir, o.name+".object"))
progress.push_task(o.name, i/len(objs), (i+1)/len(objs))
for i, o in enumerate(unique_objects):
obj_out = open_output(os.path.join(res_dir, o.name+".object"))
progress.push_task(o.name, i/len(objs), (i+1)/len(objs))