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-02-27 17:01:33 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-02-27 17:11:44 +0300
commit57b7833d1eff5e11bbdec654ff09fb24263cc055 (patch)
tree9ff75fc900cca47c41f3ebe66bfee57e9c3ec5bc /source/blender/draw/engines/eevee/eevee_render.c
parent74b0edce7476bccabc478cc2ddf6811e72187ec2 (diff)
Cleanup: split off hair cache function for reusability
For when we support sources of hair other than particle systems.
Diffstat (limited to 'source/blender/draw/engines/eevee/eevee_render.c')
-rw-r--r--source/blender/draw/engines/eevee/eevee_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_render.c b/source/blender/draw/engines/eevee/eevee_render.c
index 3a5d9e96b80..ed81665bcfb 100644
--- a/source/blender/draw/engines/eevee/eevee_render.c
+++ b/source/blender/draw/engines/eevee/eevee_render.c
@@ -204,7 +204,7 @@ void EEVEE_render_cache(void *vedata,
const int ob_visibility = DRW_object_visibility_in_active_context(ob);
if (ob_visibility & OB_VISIBLE_PARTICLES) {
- EEVEE_hair_cache_populate(vedata, sldata, ob, &cast_shadow);
+ EEVEE_particle_hair_cache_populate(vedata, sldata, ob, &cast_shadow);
}
if (ob_visibility & OB_VISIBLE_SELF) {