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
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2020-03-11 16:28:28 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-03-11 16:42:46 +0300
commitf3a33a92987fd648f194898c3789f573fdadca6f (patch)
tree26401c086bf6b2a77ce264dec006623fed20f4bc /tests/python
parent4bee1e1c8c390388b30fcadee3c4127b5b9e7f8c (diff)
Fix/workaround Eevee tests crashing with Mantaflow
Skip light cache baking until T73921 is fixed. This should be fixed properly but being able to run the tests at all is important now.
Diffstat (limited to 'tests/python')
-rwxr-xr-xtests/python/eevee_render_tests.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/python/eevee_render_tests.py b/tests/python/eevee_render_tests.py
index a7130136d0a..0d9fd37b0d7 100755
--- a/tests/python/eevee_render_tests.py
+++ b/tests/python/eevee_render_tests.py
@@ -35,6 +35,13 @@ 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
@@ -79,7 +86,8 @@ def setup():
eevee.gi_visibility_resolution = '16'
eevee.gi_irradiance_smoothing = 0
- bpy.ops.scene.light_cache_bake()
+ if use_light_cache_bake:
+ bpy.ops.scene.light_cache_bake()
# When run from inside Blender, render and exit.