diff options
author | Sybren A. Stüvel <sybren@stuvel.eu> | 2018-05-17 12:42:13 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2018-05-17 12:42:24 +0300 |
commit | ca1f1043d3164f859261a19d320b5102d628952e (patch) | |
tree | 34069f53105f88fe57f831bde215d19e3fb4d48e /source/blender/blenkernel | |
parent | 12e523d12c88d05d220f426bdb08525a572649d6 (diff) |
Particle System: fixed dupliobject drawing by getting time from depsgraph
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/object_dupli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/object_dupli.c b/source/blender/blenkernel/intern/object_dupli.c index 1810cb894d2..d99a1ba8c0b 100644 --- a/source/blender/blenkernel/intern/object_dupli.c +++ b/source/blender/blenkernel/intern/object_dupli.c @@ -868,7 +868,7 @@ static void make_duplis_particle_system(const DupliContext *ctx, ParticleSystem if (!for_render) no_draw_flag |= PARS_NO_DISP; - ctime = BKE_scene_frame_get(scene); /* NOTE: in old animsys, used parent object's timeoffset... */ + ctime = DEG_get_ctime(ctx->depsgraph); /* NOTE: in old animsys, used parent object's timeoffset... */ totpart = psys->totpart; totchild = psys->totchild; |