diff options
author | Brecht Van Lommel <brecht@blender.org> | 2020-06-10 20:03:15 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-06-10 20:48:08 +0300 |
commit | 63930c41bc3abf784d29091246b952a5c9d848b3 (patch) | |
tree | ad033ef6b0ba338b896b4f6f492e5ab285c226fb /intern/cycles/blender/blender_sync.h | |
parent | 0621c13b3e60284e0116c4c3aeb11b175f903d52 (diff) |
Fix Cycles viewport missing refresh when changing scene hair settings
This code was not updated for the CoW depsgraph.
Diffstat (limited to 'intern/cycles/blender/blender_sync.h')
-rw-r--r-- | intern/cycles/blender/blender_sync.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/blender/blender_sync.h b/intern/cycles/blender/blender_sync.h index f0ea5194c29..341281b18ee 100644 --- a/intern/cycles/blender/blender_sync.h +++ b/intern/cycles/blender/blender_sync.h @@ -162,7 +162,7 @@ class BlenderSync { void sync_hair(Hair *hair, BL::Object &b_ob, bool motion, int motion_step = 0); void sync_particle_hair( Geometry *geom, BL::Mesh &b_mesh, BL::Object &b_ob, bool motion, int motion_step = 0); - void sync_curve_settings(); + void sync_curve_settings(BL::Depsgraph &b_depsgraph); bool object_has_particle_hair(BL::Object b_ob); /* Camera */ |