Skip to content

Commit

Permalink
Fix lod_scale property getter wasn't working
Browse files Browse the repository at this point in the history
  • Loading branch information
Zylann committed Nov 30, 2023
1 parent 51ff429 commit 1a6c5cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ For a more detailed list of past and incoming changes, see the commit history.
- Fixed brush cursor looked off-center at close range when using tiny brush sizes
- Fixed error when trying to change `TextureSet` mode while it has textures in it
- Fixed shader parameters not displaying the right value in the inspector until they are set by the user at least once
- Fixed `lod_scale` property getter was always returning 2 instead of the last set value


1.7.2
Expand Down
2 changes: 1 addition & 1 deletion addons/zylann.hterrain/hterrain.gd
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ signal transform_changed(global_transform)

@export_range(2, 5) var lod_scale := 2.0:
get:
return lod_scale
return _lodder.get_split_scale()
set(value):
_lodder.set_split_scale(value)

Expand Down

0 comments on commit 1a6c5cc

Please sign in to comment.