[BUG] Foliage disappearing
HEofOttoman opened this issue · comments
Godot version
Specify a numerical Godot version you are using. Include Git commit hash if possible.
4.2.2
Plugin version
Specify a numerical Spatial Gardener version you are using. Include Git commit hash if possible.
1.3.3, latest version as of 22nd of May 2024
Platform
What platform you were using, when you encountered this bug?
Windows 11
Issue description
Describe your issue. What is expected to happen? What actually happened?
Painted foliage disappears when I save and then reload the scene. This seems to be an old issue apparently fixed, so sorry if I did something wrong. The foliage was painted on terrain from a plugin known as Terrabrush. This issue also seems to be mentioned in #37
Steps to Reproduce
Describe steps for others to reproduce this issue
Example:
- Go to assetlib
- Search for Terrabrush
- Click on Terrabrush and download the plugin,
- Click on Spatial Gardener and download the plugin
- Create a new Terrabrush node
- Create a new gardener node
- Set a working directory for the gardener
- Click on the new plants button and add a new plant
- Click on LOD variants and add a new LOD
- Drag a mesh to the new LOD
- Paint on the the terrain. Notice the bounding box being around the painted foliage
- Save the scene and reload
- Observe the foliage's disappearance.
- Paint the terrain once more
- Observe the foliage bounding box mentioned in no.11 now starting at the center of the scene.
Minimal reproduction project
Footage:
Image: Bounding box starting at the center of the scene
{Video unable to be uploaded}