diff options
author | Joshua Leung <aligorith@gmail.com> | 2008-01-27 06:21:24 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2008-01-27 06:21:24 +0300 |
commit | 8c59520060009d08d50b79e2a37734e77fd6aebe (patch) | |
tree | e4989001053626ef8d267c0cc063b112b4147a78 /source/blender/src/editaction.c | |
parent | 4213dac345f053cb5674143d719276e742bc69da (diff) |
== Action Editor Drawing - Optimisations (Part 2 out of ?) ==
Keyframes are now checked for whether they are visible or not before they are prepared for drawing. This should provide some improvements for large data-sets...
In general there don't appear to be any major issues, although in a few situations, long-keyframes may end up appearing/disappearing.
Diffstat (limited to 'source/blender/src/editaction.c')
-rw-r--r-- | source/blender/src/editaction.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/src/editaction.c b/source/blender/src/editaction.c index 1c091ed39d9..2cc905f1147 100644 --- a/source/blender/src/editaction.c +++ b/source/blender/src/editaction.c @@ -682,20 +682,20 @@ static void *get_nearest_action_key (float *selx, short *sel, short *ret_type, b case ALE_IPO: { Ipo *ipo= (Ipo *)ale->key_data; - ipo_to_keylist(ipo, &act_keys, NULL); + ipo_to_keylist(ipo, &act_keys, NULL, NULL); } break; case ALE_ICU: { IpoCurve *icu= (IpoCurve *)ale->key_data; - icu_to_keylist(icu, &act_keys, NULL); + icu_to_keylist(icu, &act_keys, NULL, NULL); } break; } } else if (ale->type == ACTTYPE_GROUP) { bActionGroup *agrp= (bActionGroup *)ale->data; - agroup_to_keylist(agrp, &act_keys, NULL); + agroup_to_keylist(agrp, &act_keys, NULL, NULL); } /* loop through keyframes, finding one that was clicked on */ |