Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(writer): eliminate uncorrect warning in write_bop #1058

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion blenderproc/python/writer/BopWriterUtility.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def write_bop(output_dir: str, target_objects: Optional[List[MeshObject]] = None
# Select target objects or objects from the specified dataset or all objects
if target_objects is not None:
dataset_objects = target_objects
for obj in get_all_mesh_objects():
for obj in dataset_objects:
if obj.is_hidden():
print(f"WARNING: The given object {obj.get_name()} is hidden. However, the bop writer will still add "
"coco annotations for it. If this is not desired, don't pass the object to the bop writer.")
Expand Down
Loading