From bc006655baf74ef0e22167a704899000b748c23f Mon Sep 17 00:00:00 2001 From: Matt Ebb Date: Tue, 10 Nov 2009 04:01:44 +0000 Subject: * Finished (well, almost ;) RNA wrapping and layout-engine-ing all the nodes. Still a few quirks, including redraw issues on multilayer image input nodes, but it's pretty much there. Would also be good to wrap the input/output sockets, too, will check on it. This fixes bug [#19740] INPUT NODE: Cannot load images / motion pictures --- source/blender/editors/space_node/node_draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/space_node/node_draw.c') diff --git a/source/blender/editors/space_node/node_draw.c b/source/blender/editors/space_node/node_draw.c index 3baa66f4bc0..b45b27f426a 100644 --- a/source/blender/editors/space_node/node_draw.c +++ b/source/blender/editors/space_node/node_draw.c @@ -259,7 +259,7 @@ static void node_update(const bContext *C, bNodeTree *ntree, bNode *node) layout= uiBlockLayout(node->block, UI_LAYOUT_VERTICAL, UI_LAYOUT_PANEL, node->locx+NODE_DYS, dy, node->butr.xmax, 20, U.uistyles.first); - node->typeinfo->uifunc(layout, &ptr); + node->typeinfo->uifunc(layout, (bContext *)C, &ptr); uiBlockEndAlign(node->block); uiBlockLayoutResolve(node->block, NULL, &buty); -- cgit v1.2.3