diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-03-19 21:03:18 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-03-19 21:04:50 +0300 |
commit | 254bb922e8654a85b3c3e2c715cb4a078f832bcb (patch) | |
tree | 2b6a0446a99186ff139742516daf06e9b734d11b /source/blender/editors/space_view3d/drawobject.c | |
parent | 402486ea7bc52f669bc02a00c5e2703590361409 (diff) |
Cleanup: avoid passing bContext to particle API
Also add EvaluationContext to PEData
Diffstat (limited to 'source/blender/editors/space_view3d/drawobject.c')
-rw-r--r-- | source/blender/editors/space_view3d/drawobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c index 896b24d3086..adb2d475464 100644 --- a/source/blender/editors/space_view3d/drawobject.c +++ b/source/blender/editors/space_view3d/drawobject.c @@ -6622,7 +6622,7 @@ static void draw_update_ptcache_edit( const EvaluationContext *eval_ctx, Scene *scene, ViewLayer *view_layer, Object *ob, PTCacheEdit *edit) { if (edit->psys && edit->psys->flag & PSYS_HAIR_UPDATED) - PE_update_object(eval_ctx, scene, view_layer, ob, 0); + PE_update_object(eval_ctx, scene, ob, 0); /* create path and child path cache if it doesn't exist already */ if (edit->pathcache == NULL) { |