rerun icon indicating copy to clipboard operation
rerun copied to clipboard

The viewer is querying `ClassId` wrongly, leading to warning in `face_tracking` example

Open emilk opened this issue 2 years ago • 2 comments

Try running just py-build && ./examples/python/face_tracking/main.py, then hover the face points in the 2D or 3D view and you'll see:

WARN re_log_types::data_cell] Expected only one rerun.components.ClassId, got 478

This is because fn annotation_info in crates/re_data_ui/src/annotation_context.rs calls query_latest_component which should only be used for mono-components, which ClassId is not.

emilk avatar Aug 31 '23 13:08 emilk

More details can be found in the duplicate issue:

  • https://github.com/rerun-io/rerun/issues/6358

emilk avatar May 16 '24 14:05 emilk

In https://github.com/rerun-io/rerun/pull/6359 this was changed to no longer spam a warning, but the underlying code is still wrong (I believe)

emilk avatar Aug 05 '24 10:08 emilk