Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-03-19 21:03:18 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-03-19 21:04:50 +0300
commit254bb922e8654a85b3c3e2c715cb4a078f832bcb (patch)
tree2b6a0446a99186ff139742516daf06e9b734d11b /source/blender/editors/space_view3d/drawobject.c
parent402486ea7bc52f669bc02a00c5e2703590361409 (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.c2
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) {