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:
authorJeroen Bakker <jeroen@blender.org>2021-08-13 09:34:10 +0300
committerJeroen Bakker <jeroen@blender.org>2021-08-13 09:34:10 +0300
commit7b5acc80091d8d92869d83f1308f5af24b45ce9a (patch)
treec82a02c0dddc4dc880909f7ceef4a0534ea7c204
parent160d57d33c7f100556b6c69b524783a3ac52b53b (diff)
Cleanup: remove unused draw_gpencil_channel.
Code is integrated with draw_scene_channel since 2.80.
-rw-r--r--source/blender/editors/animation/keyframes_draw.c14
-rw-r--r--source/blender/editors/include/ED_keyframes_draw.h7
2 files changed, 0 insertions, 21 deletions
diff --git a/source/blender/editors/animation/keyframes_draw.c b/source/blender/editors/animation/keyframes_draw.c
index d25f81005c5..5407e04af12 100644
--- a/source/blender/editors/animation/keyframes_draw.c
+++ b/source/blender/editors/animation/keyframes_draw.c
@@ -685,20 +685,6 @@ void draw_action_channel(AnimKeylistDrawList *draw_list,
draw_elem->channel_locked = locked;
}
-void draw_gpencil_channel(
- View2D *v2d, bDopeSheet *ads, bGPdata *gpd, float ypos, float yscale_fac, int saction_flag)
-{
- struct AnimKeylist *keylist = ED_keylist_create();
-
- saction_flag &= ~SACTION_SHOW_EXTREMES;
-
- gpencil_to_keylist(ads, gpd, keylist, false);
-
- draw_keylist(v2d, keylist, ypos, yscale_fac, false, saction_flag);
-
- ED_keylist_free(keylist);
-}
-
void draw_gpl_channel(AnimKeylistDrawList *draw_list,
bDopeSheet *ads,
bGPDlayer *gpl,
diff --git a/source/blender/editors/include/ED_keyframes_draw.h b/source/blender/editors/include/ED_keyframes_draw.h
index c9bbf58ff7a..50823045936 100644
--- a/source/blender/editors/include/ED_keyframes_draw.h
+++ b/source/blender/editors/include/ED_keyframes_draw.h
@@ -102,13 +102,6 @@ void draw_summary_channel(struct AnimKeylistDrawList *draw_list,
float ypos,
float yscale_fac,
int saction_flag);
-/* Grease Pencil datablock summary */
-void draw_gpencil_channel(struct View2D *v2d,
- struct bDopeSheet *ads,
- struct bGPdata *gpd,
- float ypos,
- float yscale_fac,
- int saction_flag);
/* Grease Pencil Layer */
void draw_gpl_channel(struct AnimKeylistDrawList *draw_list,
struct bDopeSheet *ads,