Particle system: get current time from depsgraph

This makes the particle animation work again!
This commit is contained in:
Sybren A. Stüvel 2018-05-16 10:50:49 +02:00
parent ca8e9c881f
commit a6e804eaee
Notes: blender-bot 2024-04-11 14:26:06 +02:00
Referenced by issue #55093, Crash when bisecting solidified mesh
1 changed files with 1 additions and 1 deletions

View File

@ -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;