Profile buffer modifier

master
Marc Gilleron 2022-06-19 21:41:32 +01:00
parent fdd8ff3889
commit bea011c323
1 changed files with 2 additions and 0 deletions

View File

@ -326,6 +326,8 @@ float get_largest_coord(Vector3 v) {
}
void VoxelModifierBuffer::apply(VoxelModifierContext ctx) const {
ZN_PROFILE_SCOPE();
RWLockRead rlock(_rwlock);
if (_buffer == nullptr) {
return;