diff options
Diffstat (limited to 'source/blender/editors/space_time/space_time.c')
-rw-r--r-- | source/blender/editors/space_time/space_time.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/space_time/space_time.c b/source/blender/editors/space_time/space_time.c index a03baa2fa72..1de7704c3f0 100644 --- a/source/blender/editors/space_time/space_time.c +++ b/source/blender/editors/space_time/space_time.c @@ -281,7 +281,7 @@ static ActKeyColumn *time_cfra_find_ak (ActKeyColumn *ak, float cframe) /* helper for time_draw_keyframes() */ static void time_draw_idblock_keyframes(View2D *v2d, ID *id, short onlysel) { - bDopeSheet ads; + bDopeSheet ads= {0}; DLRBT_Tree keys; ActKeyColumn *ak; @@ -290,7 +290,6 @@ static void time_draw_idblock_keyframes(View2D *v2d, ID *id, short onlysel) /* init dopesheet settings */ // FIXME: the ob_to_keylist function currently doesn't take this into account... - memset(&ads, 0, sizeof(bDopeSheet)); if (onlysel) ads.filterflag |= ADS_FILTER_ONLYSEL; |