Fix T38576: cycles hair not rendering in edit/paint modes.

This commit is contained in:
Brecht Van Lommel 2014-02-10 14:27:01 +01:00
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)
1 changed files with 1 additions and 1 deletions

View File

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