Cleanup: Remove unused variables from the bNode struct

In some cases the variables were set but never used anywhere.

Differential Revision: https://developer.blender.org/D9889
This commit is contained in:
2020-12-18 17:04:52 -06:00
parent 6367bc716a
commit c106b07e23
5 changed files with 6 additions and 52 deletions

View File

@@ -1620,7 +1620,6 @@ void node_draw_nodetree(const bContext *C,
}
bNodeInstanceKey key = BKE_node_instance_key(parent_key, ntree, node);
node->nr = a; /* index of node in list, used for exec event code */
node_draw(C, region, snode, ntree, node, key);
}
@@ -1643,7 +1642,6 @@ void node_draw_nodetree(const bContext *C,
}
bNodeInstanceKey key = BKE_node_instance_key(parent_key, ntree, node);
node->nr = a; /* index of node in list, used for exec event code */
node_draw(C, region, snode, ntree, node, key);
}
}