Particle system: get current time from depsgraph
This makes the particle animation work again!
This commit is contained in:
parent
ca8e9c881f
commit
a6e804eaee
Notes:
blender-bot
2024-04-11 14:26:06 +02:00
Referenced by issue #55093, Crash when bisecting solidified mesh
|
@ -4221,7 +4221,7 @@ void particle_system_update(struct Depsgraph *depsgraph, Scene *scene, Object *o
|
|||
if (!psys_check_enabled(ob, psys, use_render_params))
|
||||
return;
|
||||
|
||||
cfra= BKE_scene_frame_get(scene);
|
||||
cfra = DEG_get_ctime(depsgraph);
|
||||
|
||||
sim.depsgraph = depsgraph;
|
||||
sim.scene = scene;
|
||||
|
|
Loading…
Reference in New Issue