diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-02-10 17:27:01 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-02-10 17:29:21 +0400 |
commit | 644ca76356223f95d824ecdf13e57b6f2b14650f (patch) | |
tree | 257c3907d7a9fd885585db8774c9d2f21ba4b30b /intern/cycles | |
parent | 7096529704989286f30d645fae54e40c8335ec5e (diff) |
Fix T38576: cycles hair not rendering in edit/paint modes.
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/blender/blender_curves.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/blender/blender_curves.cpp b/intern/cycles/blender/blender_curves.cpp index b0e89ca1827..fb3e968e034 100644 --- a/intern/cycles/blender/blender_curves.cpp +++ b/intern/cycles/blender/blender_curves.cpp @@ -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; |