Skip to content

Commit

Permalink
Add OriginalTransform to individual static instance
Browse files Browse the repository at this point in the history
  • Loading branch information
cohaereo committed May 25, 2024
1 parent db5fac7 commit d6f8333
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/alkahest-renderer/src/loaders/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@ fn load_datatable_into_scene<R: Read + Seek>(
let entity = scene.spawn((
Icon(ICON_CUBE_OUTLINE),
Label::from("Static Instance"),
OriginalTransform(transform.clone()),
transform,
StaticInstance,
Parent(parent),
Expand Down

0 comments on commit d6f8333

Please sign in to comment.