Fix VoxelGI bake memory leak
This commit is contained in:
parent
6916349697
commit
416ef5ad1b
|
@ -884,6 +884,8 @@ Vector<uint8_t> Voxelizer::get_sdf_3d_image() const {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
memdelete_arr(work_memory);
|
||||||
|
|
||||||
return image3d;
|
return image3d;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue