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-20 10:03:10 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-03-20 10:03:58 +0300
commit1662c514c01f0b85f67e8d52bebc6abce47cb8b4 (patch)
treeb9e7353613a05fb9a9252fb605edfef964d16392 /source/blender/editors/space_view3d/drawobject.c
parentc8a7c4f245391717f10ed4d67e38d955b64a6f44 (diff)
Cleanup: unused variables
Missed in own recent changes.
Diffstat (limited to 'source/blender/editors/space_view3d/drawobject.c')
-rw-r--r--source/blender/editors/space_view3d/drawobject.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c
index adb2d475464..ea92f18f714 100644
--- a/source/blender/editors/space_view3d/drawobject.c
+++ b/source/blender/editors/space_view3d/drawobject.c
@@ -6619,7 +6619,7 @@ static void draw_new_particle_system(
}
static void draw_update_ptcache_edit(
- const EvaluationContext *eval_ctx, Scene *scene, ViewLayer *view_layer, Object *ob, PTCacheEdit *edit)
+ const EvaluationContext *eval_ctx, Scene *scene, Object *ob, PTCacheEdit *edit)
{
if (edit->psys && edit->psys->flag & PSYS_HAIR_UPDATED)
PE_update_object(eval_ctx, scene, ob, 0);
@@ -8976,7 +8976,7 @@ afterdraw:
if (eval_ctx->object_mode & OB_MODE_PARTICLE_EDIT && is_obact) {
PTCacheEdit *edit = PE_create_current(eval_ctx, scene, ob);
if (edit && edit->psys == psys)
- draw_update_ptcache_edit(eval_ctx, scene, view_layer, ob, edit);
+ draw_update_ptcache_edit(eval_ctx, scene, ob, edit);
}
draw_new_particle_system(eval_ctx, scene, v3d, rv3d, base, psys, dt, dflag);
@@ -8998,7 +8998,7 @@ afterdraw:
PTCacheEdit *edit = PE_create_current(eval_ctx, scene, ob);
if (edit) {
gpuLoadMatrix(rv3d->viewmat);
- draw_update_ptcache_edit(eval_ctx, scene, view_layer, ob, edit);
+ draw_update_ptcache_edit(eval_ctx, scene, ob, edit);
draw_ptcache_edit(scene, v3d, edit);
gpuMultMatrix(ob->obmat);
}