17 lines
367 B
C++
17 lines
367 B
C++
#include "voxel_data_block.h"
|
|
#include "../util/log.h"
|
|
#include "../util/string_funcs.h"
|
|
|
|
namespace zylann::voxel {
|
|
|
|
void VoxelDataBlock::set_modified(bool modified) {
|
|
#ifdef TOOLS_ENABLED
|
|
if (_modified == false && modified) {
|
|
ZN_PRINT_VERBOSE(format("Marking block {} as modified", size_t(this)));
|
|
}
|
|
#endif
|
|
_modified = modified;
|
|
}
|
|
|
|
} // namespace zylann::voxel
|