Fix T38576: cycles hair not rendering in edit/paint modes.
This commit is contained in:
parent
7096529704
commit
644ca76356
Notes:
blender-bot
2023-02-14 11:13:16 +01:00
Referenced by issue #38576, Rendering while in Weight paint mode doesn't render hair (Cycles)
|
@ -802,7 +802,7 @@ void BlenderSync::sync_curves(Mesh *mesh, BL::Mesh b_mesh, BL::Object b_ob, int
|
|||
/* obtain general settings */
|
||||
bool use_curves = scene->curve_system_manager->use_curves;
|
||||
|
||||
if(!(use_curves && b_ob.mode() == b_ob.mode_OBJECT)) {
|
||||
if(!(use_curves && b_ob.mode() != b_ob.mode_PARTICLE_EDIT)) {
|
||||
if(!motion)
|
||||
mesh->compute_bounds();
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue