When the terrain's resolution type is set to density the Height Map baking in the menu next to the terrain layers errors out:
Python: Traceback (most recent call last):
File "C:\Users\Zach\AppData\Roaming\Blender Foundation\Blender\4.5\extensions\vscode_development\true_terrain\scripts\ops\terrain_ops\bake_terrain.py", line 146, in execute
fpath = object_to_heightmap(
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Zach\AppData\Roaming\Blender Foundation\Blender\4.5\extensions\vscode_development\true_terrain\scripts\ops\terrain_ops\bake_terrain.py", line 29, in object_to_heightmap
coords.resize((x_res * y_res, 3))
ValueError: cannot resize an array that references or is referenced
by another array in this way.
Use the np.resize function or refcheck=False
When the terrain's resolution type is set to density the Height Map baking in the menu next to the terrain layers errors out: