mirror of
https://github.com/Relintai/godot_voxel.git
synced 2024-12-25 16:27:16 +01:00
Fix default value for CHANNEL_ISOLEVEL, it should be the integer raw value, not the quantified one
This commit is contained in:
parent
a67ea390d5
commit
2e419db855
@ -4,7 +4,7 @@
|
||||
#include <string.h>
|
||||
|
||||
VoxelBuffer::VoxelBuffer() {
|
||||
_channels[CHANNEL_ISOLEVEL].defval = 1.0;
|
||||
_channels[CHANNEL_ISOLEVEL].defval = 255;
|
||||
}
|
||||
|
||||
VoxelBuffer::~VoxelBuffer() {
|
||||
|
@ -14,7 +14,7 @@ VoxelMap::VoxelMap() :
|
||||
_default_voxel[i] = 0;
|
||||
}
|
||||
|
||||
_default_voxel[VoxelBuffer::CHANNEL_ISOLEVEL] = 1.0;
|
||||
_default_voxel[VoxelBuffer::CHANNEL_ISOLEVEL] = 255;
|
||||
}
|
||||
|
||||
VoxelMap::~VoxelMap() {
|
||||
|
Loading…
Reference in New Issue
Block a user