Fix for [#24118] Hair particles can not be edited

* Own mistake from a previous fix.
This commit is contained in:
Janne Karhu 2010-10-04 08:48:50 +00:00
parent c0a7b5c2a8
commit 636e555ec2

@ -1015,8 +1015,9 @@ void BKE_ptcache_ids_from_object(ListBase *lb, Object *ob, Scene *scene, int dup
if(ELEM(psys->part->phystype, PART_PHYS_NO, PART_PHYS_KEYED))
continue;
if(psys->part->type == PART_HAIR && (psys->flag & PSYS_HAIR_DYNAMICS)==0)
continue;
/* hair needs to be included in id-list for cache edit mode to work */
/* if(psys->part->type == PART_HAIR && (psys->flag & PSYS_HAIR_DYNAMICS)==0) */
/* continue; */
if(psys->part->type == PART_FLUID)
continue;