diff options
author | Jacques Lucke <jacques@blender.org> | 2020-05-20 17:55:43 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-05-20 17:55:43 +0300 |
commit | 8fe448b44d1dc8b5e62a293686704d6cb192d2fb (patch) | |
tree | 550e5933590f47df25cadbb6a6e0ba4553b92980 | |
parent | ccf43fe6050c4cf986bd227ffbf25b7b02c077be (diff) |
Fix T75197: Eevee does not render instanced smoke
This check was introduced in rBc8005703f298, but does not
seem necessary anymore.
Reviewers: fclem, sebbas, brecht
Differential Revision: https://developer.blender.org/D7799
-rw-r--r-- | source/blender/draw/engines/eevee/eevee_volumes.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_volumes.c b/source/blender/draw/engines/eevee/eevee_volumes.c index 63c96ac8c25..1c74003bf12 100644 --- a/source/blender/draw/engines/eevee/eevee_volumes.c +++ b/source/blender/draw/engines/eevee/eevee_volumes.c @@ -486,8 +486,7 @@ static bool eevee_volume_object_mesh_init(Scene *scene, ModifierData *md = NULL; /* Smoke Simulation */ - if (((ob->base_flag & BASE_FROM_DUPLI) == 0) && - (md = modifiers_findByType(ob, eModifierType_Fluid)) && + if ((md = modifiers_findByType(ob, eModifierType_Fluid)) && (modifier_isEnabled(scene, md, eModifierMode_Realtime)) && ((FluidModifierData *)md)->domain != NULL) { FluidModifierData *mmd = (FluidModifierData *)md; |