Cleanup: Remove dead code

This commit is contained in:
Aaron Carlisle 2021-12-29 10:31:17 -05:00
parent 465bd66519
commit d786b48aab
1 changed files with 0 additions and 13 deletions

View File

@ -136,19 +136,6 @@ static void node_buts_mix_rgb(uiLayout *layout, bContext *UNUSED(C), PointerRNA
static void node_buts_time(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
{
#if 0
/* XXX no context access here. */
bNode *node = (bNode*)ptr->data;
CurveMapping *cumap = node->storage;
if (cumap) {
cumap->flag |= CUMA_DRAW_CFRA;
if (node->custom1 < node->custom2) {
cumap->sample[0] = (float)(CFRA - node->custom1) / (float)(node->custom2 - node->custom1);
}
}
#endif
uiTemplateCurveMapping(layout, ptr, "curve", 's', false, false, false, false);
uiLayout *row = uiLayoutRow(layout, true);