ozzr / godot_terrain

Custom Godot Engine Build with Terrain Module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Min scale is not considerated in game

Naurk opened this issue · comments

commented

Minimum scale is not considerated when I run the game, but is considerated in the editor. I find out this while testing a TREE, I do not tested other combinations.
Here is the video in the editor where I set min and max scale with the same values to make it more clear:
https://user-images.githubusercontent.com/57441396/216953041-9ae4586e-8072-44c8-a339-aef08d0dc5a1.mp4

Here when I run the scene:
https://user-images.githubusercontent.com/57441396/216953130-b7779e34-022a-44c7-b902-521177f4b14c.mp4

commented

Hi!, thanks for opening an issue. I am going to take a look at it right now

commented

Interesting ....

biome rendering issue
In Game (bottom Left) - In Editor (Center Screen)

I managed to replicate the issue
I am checking the BiomeItem class code to find where might be the storage issue

commented

FIXED!
biome rendering issue - FIXED

Issue at: biome_item.cpp line 305 at:

static inline void _assign_range_value(int index, Vector3 v, BiomeItem::Range<Vector3> &r)
commented

An editor binary with this fix is available at the release section.