forked from bartvdbraak/blender
Fix for [#25572] crash when changing vertex group density in particle mode
* Hair was freed & redone on changes, but particle mode data wasn't updated.
This commit is contained in:
parent
4043830cf8
commit
4e15c169c6
@ -4100,6 +4100,12 @@ void particle_system_update(Scene *scene, Object *ob, ParticleSystem *psys)
|
|||||||
|
|
||||||
free_hair(ob, psys, 0);
|
free_hair(ob, psys, 0);
|
||||||
|
|
||||||
|
if(psys->edit && psys->free_edit) {
|
||||||
|
psys->free_edit(psys->edit);
|
||||||
|
psys->edit = NULL;
|
||||||
|
psys->free_edit = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
/* first step is negative so particles get killed and reset */
|
/* first step is negative so particles get killed and reset */
|
||||||
psys->cfra= 1.0f;
|
psys->cfra= 1.0f;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user