1
1

AnimSys2: Bugfix for Dopesheet

The buggy cull keyframes option in DopeSheet/Action Editor was always on. Disabled it.
This commit is contained in:
2008-12-08 06:17:12 +00:00
parent 07e7fe9998
commit f18a474a50

View File

@@ -1222,7 +1222,11 @@ static ActKeysInc *init_aki_data(void *data, short datatype, bActListElem *ale)
aki.start= G.v2d->cur.xmin - 10;
aki.end= G.v2d->cur.xmax + 10;
return &aki;
/* only return pointer to this data if the culling option is turned on */
if (G.saction->flag & SACTION_HORIZOPTIMISEON)
return &aki;
else
return NULL;
}
static void draw_channel_strips(void)