open-rmf / rmf_site

Experimental visualizer for dense buildings in RMF
32 stars 13 forks source link

[Bug]: When selecting an anchor to attach a workcell item to, the model preview orientation is wrong #200

Open mxgrey opened 7 months ago

mxgrey commented 7 months ago

OS and version

Ubuntu 22.04

Open-RMF version or commit hash

https://github.com/open-rmf/rmf_site/pull/177

Description of the bug

When placing a model into a workcell, hovering over an anchor will snap the model to the anchor to indicate what the parentage will be, but it will continue to show the model aligned to the global axes instead of the axes of the prospective parent frame. Then when you select the anchor, the model will surprisingly jump to align with the parent axes.

A less surprising preview would show the preview aligned with the anchor axes while hovering.