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_engine.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_engine.c')
-rw-r--r--source/blender/draw/engines/eevee/eevee_engine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_engine.c b/source/blender/draw/engines/eevee/eevee_engine.c
index 6480847092b..a886fa26589 100644
--- a/source/blender/draw/engines/eevee/eevee_engine.c
+++ b/source/blender/draw/engines/eevee/eevee_engine.c
@@ -120,7 +120,7 @@ void EEVEE_cache_populate(void *vedata, Object *ob)
bool cast_shadow = false;
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 (DRW_object_is_renderable(ob) && (ob_visibility & OB_VISIBLE_SELF)) {