diff options
author | Antonioya <blendergit@gmail.com> | 2019-02-28 21:53:43 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2019-02-28 21:54:07 +0300 |
commit | 050cf891f21ac977d3dc9e32e72ff3401912ca5b (patch) | |
tree | 17f1b1cbef42f9790a30fb32ca5816a66626aea2 | |
parent | 04baefcc2fc0d5ad7ebdd19f3668088e329c5f20 (diff) |
GPencil: Cleanup style
-rw-r--r-- | source/blender/draw/engines/gpencil/gpencil_engine.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/draw/engines/gpencil/gpencil_engine.c b/source/blender/draw/engines/gpencil/gpencil_engine.c index d9ee2b26b50..187cc2a4201 100644 --- a/source/blender/draw/engines/gpencil/gpencil_engine.c +++ b/source/blender/draw/engines/gpencil/gpencil_engine.c @@ -566,7 +566,6 @@ static void gpencil_add_draw_data(void *vedata, Object *ob) DRW_gpencil_fx_prepare(&e_data, vedata, cache_ob); } } - } void GPENCIL_cache_populate(void *vedata, Object *ob) @@ -681,7 +680,6 @@ void GPENCIL_cache_finish(void *vedata) /* create framebuffers */ GPENCIL_create_framebuffers(vedata); - } /* helper function to sort inverse gpencil objects using qsort */ @@ -761,7 +759,6 @@ static void gpencil_draw_pass_range( if ((!stl->storage->is_mat_preview) && (multi)) { MULTISAMPLE_GP_SYNC_DISABLE(stl->storage->multisamples, fbl, fb, txl); } - } /* draw strokes to use for selection */ @@ -834,11 +831,9 @@ void GPENCIL_draw_scene(void *ved) /* if the draw is for select, do a basic drawing and return */ if (DRW_state_is_select()) { - drw_gpencil_select_render(stl, psl); /* free memory */ gpencil_free_obj_runtime(stl); - return; } @@ -873,7 +868,6 @@ void GPENCIL_draw_scene(void *ved) DRW_draw_pass(psl->grid_pass); } } - return; } @@ -881,7 +875,6 @@ void GPENCIL_draw_scene(void *ved) /* Draw all pending objects */ if (stl->g_data->gp_cache_used > 0) { - /* sort by zdepth */ qsort(stl->g_data->gp_object_cache, stl->g_data->gp_cache_used, sizeof(tGPencilObjectCache), gpencil_object_cache_compare_zdepth); @@ -952,7 +945,6 @@ void GPENCIL_draw_scene(void *ved) /* prepare next group */ init_shgrp = NULL; } - } /* last group */ gpencil_draw_pass_range( |