diff options
author | Sebastián Barschkis <sebbas@sebbas.org> | 2020-03-14 02:30:55 +0300 |
---|---|---|
committer | Sebastián Barschkis <sebbas@sebbas.org> | 2020-03-14 02:30:55 +0300 |
commit | 5260aaf3b1c87f5595dff411d9f6307f1eb6c44e (patch) | |
tree | 9e289aa627dc9ae9cb80ec05911893f3b264cd38 /source/blender/draw/engines/eevee/eevee_volumes.c | |
parent | 7d56c425f8e64346eac6e78ed49d5c5ce2fe1025 (diff) |
Fix T73921: Eevee volume render test memory leak in Mantaflow
Fixed memory leak that showed up after the original issue (crash) had been fixed in 93ac4709ebe8. The fix ensures that light cache bakes free up GPU smoke textures and the smoke domain list correctly.
This commit also removes the workaround (f3a33a92987f) that disabled light cache bakes for fluid objects.
Diffstat (limited to 'source/blender/draw/engines/eevee/eevee_volumes.c')
-rw-r--r-- | source/blender/draw/engines/eevee/eevee_volumes.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_volumes.c b/source/blender/draw/engines/eevee/eevee_volumes.c index 8c1c72a3c20..41f8dddf0fb 100644 --- a/source/blender/draw/engines/eevee/eevee_volumes.c +++ b/source/blender/draw/engines/eevee/eevee_volumes.c @@ -178,8 +178,6 @@ void EEVEE_volumes_init(EEVEE_ViewLayerData *sldata, EEVEE_Data *vedata) const float *viewport_size = DRW_viewport_size_get(); - BLI_listbase_clear(&e_data.smoke_domains); - const int tile_size = scene_eval->eevee.volumetric_tile_size; /* Find Froxel Texture resolution. */ |