Skip to content

Commit

Permalink
Remove error print
Browse files Browse the repository at this point in the history
  • Loading branch information
Zylann committed Mar 3, 2024
1 parent a4e0870 commit 199b31b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions doc/source/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Primarily developped with Godot 4.2.
- `VoxelGeneratorGraph`:
- Fixed ambiguous voxel texture indices produced by `OutputSingleTexture` caused painting to fail in some situations
- Fixed default input values of output nodes were always 0 when using GPU generation
- `VoxelTool`: fixed `paste` wrongly printing an error despite working fine
- `VoxelToolLodTerrain`:
- `get_voxel` would always return 0 in indices and weight channels if the area was never edited, data streaming is on and the generator is a `VoxelGeneratorGraph` producing single-texture information
- `copy` would return incorrect buffers when used on non-edited areas when data streaming is on and a generator is assigned
Expand Down
1 change: 0 additions & 1 deletion edition/voxel_tool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,6 @@ void VoxelTool::paste(Vector3i p_pos, const VoxelBufferInternal &src, uint8_t ch

void VoxelTool::paste(Vector3i p_pos, Ref<gd::VoxelBuffer> p_voxels, uint8_t channels_mask) {
ERR_FAIL_COND(p_voxels.is_null());
ERR_PRINT("Not implemented");
if (Vector3iUtil::is_empty_size(p_voxels->get_size())) {
ZN_PRINT_WARNING("The passed buffer has an empty size, nothing will be pasted.");
}
Expand Down

0 comments on commit 199b31b

Please sign in to comment.