Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSebastián Barschkis <sebbas@sebbas.org>2020-03-14 02:30:55 +0300
committerSebastián Barschkis <sebbas@sebbas.org>2020-03-14 02:30:55 +0300
commit5260aaf3b1c87f5595dff411d9f6307f1eb6c44e (patch)
tree9e289aa627dc9ae9cb80ec05911893f3b264cd38 /tests
parent7d56c425f8e64346eac6e78ed49d5c5ce2fe1025 (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 'tests')
-rwxr-xr-xtests/python/eevee_render_tests.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/tests/python/eevee_render_tests.py b/tests/python/eevee_render_tests.py
index 0d9fd37b0d7..a7130136d0a 100755
--- a/tests/python/eevee_render_tests.py
+++ b/tests/python/eevee_render_tests.py
@@ -35,13 +35,6 @@ def setup():
# mat.use_screen_refraction = True
mat.use_sss_translucency = True
- # Workaround for crash with Mantaflow (T73921).
- use_light_cache_bake = True
- for ob in bpy.data.objects:
- for mod in ob.modifiers:
- if mod.type == 'FLUID':
- use_light_cache_bake = False
-
cubemap = None
grid = None
# Does not work in edit mode
@@ -86,8 +79,7 @@ def setup():
eevee.gi_visibility_resolution = '16'
eevee.gi_irradiance_smoothing = 0
- if use_light_cache_bake:
- bpy.ops.scene.light_cache_bake()
+ bpy.ops.scene.light_cache_bake()
# When run from inside Blender, render and exit.