Zylann / godot_voxel

Voxel module for Godot Engine
MIT License
2.6k stars 245 forks source link

Toggling visibility of VoxelModifier does nothing #655

Open Piratux opened 3 months ago

Piratux commented 3 months ago

Describe the bug Toggling visibility of VoxelModifier (for both VoxelModifierMesh and VoxelModifierSphere) from "show" to "hide", still shows the mesh preview as opposed to hiding it.

See image: image

To Reproduce Steps to reproduce the behavior:

  1. Create VoxelLodTerrain and add VoxelGeneratorFlat generator.
  2. Under VoxelLodTerrain add VoxelModifierSphere.
  3. Set VoxelModifierSphere's radius=30.
  4. Set visible = false of VoxelModifierSphere.
  5. Notice preview mesh is still visible.

Expected behavior VoxelModifier with visible=false should not show preview of VoxelModifier.

Environment

MRP Test VoxelModifier toggle visibility does nothing.zip

Zylann commented 3 months ago

This is not implemented.