From 7b66f73558d1e4dda308366bc8ad2b5dfa8009d3 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sun, 2 Feb 2020 13:09:18 +0100 Subject: Cleanup: export particle hair as a separate Cycles object --- intern/cycles/blender/blender_sync.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'intern/cycles/blender/blender_sync.h') diff --git a/intern/cycles/blender/blender_sync.h b/intern/cycles/blender/blender_sync.h index a80f484fb92..07dccdc5a73 100644 --- a/intern/cycles/blender/blender_sync.h +++ b/intern/cycles/blender/blender_sync.h @@ -127,16 +127,15 @@ class BlenderSync { BL::Object &b_ob, BL::Object &b_ob_instance, bool object_updated, - bool show_self, - bool show_particles); - void sync_curves( + bool use_particle_hair); + bool object_has_particle_hair(BL::Object b_ob); + void sync_particle_hair( Mesh *mesh, BL::Mesh &b_mesh, BL::Object &b_ob, bool motion, int motion_step = 0); Object *sync_object(BL::Depsgraph &b_depsgraph, BL::ViewLayer &b_view_layer, BL::DepsgraphObjectInstance &b_instance, float motion_time, - bool show_self, - bool show_particles, + bool use_particle_hair, bool show_lights, BlenderObjectCulling &culling, bool *use_portal); @@ -179,7 +178,7 @@ class BlenderSync { id_map shader_map; id_map object_map; - id_map mesh_map; + id_map mesh_map; id_map light_map; id_map particle_system_map; set mesh_synced; -- cgit v1.2.3