Change data type of computed heightmap arrays to signed integer to avoid unsigned overflow.
Code that works with heightmaps such as filters/smooth.py will subtract two heights expecting to get a negative integer. Getting a very large positive one usually causes an error, so make sure signed int arithmetic gets used.
This commit is contained in:
parent
14967d46da
commit
fde247b651
Reference in New Issue
Block a user