Skip to content

Commit

Permalink
Fix saving the i3d file after updating the heightScale
Browse files Browse the repository at this point in the history
  • Loading branch information
iwatkot authored Feb 9, 2025
1 parent 5896f81 commit d4ee7f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions maps4fs/generator/component/i3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ def update_height_scale(self, value: int | None = None) -> None:
data = {"heightScale": str(value)}

self.get_and_update_element(root, path, data)
self.save_tree(tree)

def _update_parameters(self) -> None:
"""Updates the map I3D file with the sun bounding box and displacement layer size."""
Expand Down

0 comments on commit d4ee7f2

Please sign in to comment.