diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-06-19 16:25:48 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-06-19 16:28:33 +0300 |
commit | d8f9ec1547387bf363e9c7100322a7d94f08f12a (patch) | |
tree | ebb07e56bb90954eedd97e6a8d03ef28be381853 /source/blender/draw/intern/draw_cache_impl_particles.c | |
parent | 95306a4d1982e569616211d901bb81b0467d0b8b (diff) |
Particles: Support changing modifiers during particle edit mode
The idea is to only use pointers to particles in original object when
creating an edit structure. The derived mesh we get from evaluated
object.
The rest of the commit is just keeping pointers in sync.
Diffstat (limited to 'source/blender/draw/intern/draw_cache_impl_particles.c')
-rw-r--r-- | source/blender/draw/intern/draw_cache_impl_particles.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/draw/intern/draw_cache_impl_particles.c b/source/blender/draw/intern/draw_cache_impl_particles.c index b3006f1bd98..d1e05b525ef 100644 --- a/source/blender/draw/intern/draw_cache_impl_particles.c +++ b/source/blender/draw/intern/draw_cache_impl_particles.c @@ -1331,9 +1331,6 @@ static void drw_particle_get_hair_source( if ((object->mode & OB_MODE_PARTICLE_EDIT) != 0) { r_draw_source->object = DEG_get_original_object(object); r_draw_source->psys = psys_orig_get(psys); - if (md != NULL) { - r_draw_source->md = modifiers_findByName(r_draw_source->object, md->name); - } } } |