We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11bc514 commit 746d833Copy full SHA for 746d833
storage.h
@@ -1643,8 +1643,9 @@ class chunked_voxel_storage : public abstract_chunked_voxel_storage {
1643
abstract_voxel_storage* c = get_chunk(cxyz);
1644
if (c == nullptr) {
1645
(*(typename T::value_type_non_ref*) loc) = 0;
1646
+ } else {
1647
+ c->Get(xyz - cxyz * chunk_size_, loc);
1648
}
- c->Get(xyz - cxyz * chunk_size_, loc);
1649
1650
1651
void set_chunk(const vec_n<3, size_t>& ijk, abstract_voxel_storage* s) {
0 commit comments