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:
authorAaron Carlisle <carlisle.b3d@gmail.com>2021-12-29 18:31:17 +0300
committerAaron Carlisle <carlisle.b3d@gmail.com>2021-12-29 18:31:17 +0300
commitd786b48aab5a38177857e4fe48de5024bfb846ce (patch)
tree5e14a89c4907bc781e1fa5f234926441dd20f419
parent465bd6651914bf451a357802e044ba79ef439125 (diff)
Cleanup: Remove dead code
-rw-r--r--source/blender/editors/space_node/drawnode.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/source/blender/editors/space_node/drawnode.cc b/source/blender/editors/space_node/drawnode.cc
index 053f2d7e62c..5d6a73b436c 100644
--- a/source/blender/editors/space_node/drawnode.cc
+++ b/source/blender/editors/space_node/drawnode.cc
@@ -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);