Skip to content

Commit

Permalink
Fix wrong fiducial spawning after migration
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Della Vedova <lucadv@intrinsic.ai>
  • Loading branch information
luca-della-vedova committed Nov 10, 2023
1 parent d018dca commit 4d66fb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rmf_site_editor/src/site/load.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ fn generate_site_entities(
consider_id(*anchor_id);
}

for (fiducial_id, fiducial) in &site_data.fiducials {
for (fiducial_id, fiducial) in &drawing.fiducials {
let fiducial_entity = commands
.spawn(fiducial.convert(&id_to_entity).for_site(site_id)?)
.insert(SiteID(*fiducial_id))
Expand Down

0 comments on commit 4d66fb8

Please sign in to comment.