[Bf-blender-cvs] [cbfdd02f2c4] blender2.8: Fix typo in Eevee hair UV handling
Luca Rood
noreply at git.blender.org
Tue Jun 27 11:59:32 CEST 2017
Commit: cbfdd02f2c47aa495a4df89204fdaeadfc2ed6cb
Author: Luca Rood
Date: Tue Jun 27 11:58:59 2017 +0200
Branches: blender2.8
https://developer.blender.org/rBcbfdd02f2c47aa495a4df89204fdaeadfc2ed6cb
Fix typo in Eevee hair UV handling
===================================================================
M source/blender/draw/intern/draw_cache_impl_particles.c
===================================================================
diff --git a/source/blender/draw/intern/draw_cache_impl_particles.c b/source/blender/draw/intern/draw_cache_impl_particles.c
index f3f658dbd8d..178d0a19e80 100644
--- a/source/blender/draw/intern/draw_cache_impl_particles.c
+++ b/source/blender/draw/intern/draw_cache_impl_particles.c
@@ -337,7 +337,7 @@ static void particle_batch_cache_ensure_pos_and_seg(ParticleSystem *psys, Modifi
if (ELEM(from, PART_FROM_FACE, PART_FROM_VOLUME)) {
ChildParticle *particle = &psys->child[i];
- int num = psys->part->childtype == particle->num;
+ int num = particle->num;
if (num != DMCACHE_NOTFOUND) {
MFace *mface = psmd->dm_final->getTessFaceData(psmd->dm_final, num, CD_MFACE);
More information about the Bf-blender-cvs
mailing list