diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-12-30 10:32:14 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-12-30 10:32:14 +0300 |
commit | d6e8cd42325d763b65219c6652343a4a4c3a7489 (patch) | |
tree | 32e003dbc711302d3003560c9874f8312a0300fe /source/blender/editors/space_node/drawnode.c | |
parent | 090807066c58943a817eaea74d7358534fad5070 (diff) |
2.5: fix compile error on mac, and a few warnings.
Diffstat (limited to 'source/blender/editors/space_node/drawnode.c')
-rw-r--r-- | source/blender/editors/space_node/drawnode.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/drawnode.c b/source/blender/editors/space_node/drawnode.c index 4f1cb7a5a68..61c53fb58d3 100644 --- a/source/blender/editors/space_node/drawnode.c +++ b/source/blender/editors/space_node/drawnode.c @@ -178,7 +178,7 @@ static void node_ID_title_cb(bContext *C, void *node_v, void *unused_v) static void node_but_title_cb(bContext *C, void *node_v, void *but_v) { - bNode *node= node_v; + // bNode *node= node_v; // XXX uiBut *bt= but_v; // XXX BLI_strncpy(node->name, bt->drawstr, NODE_MAXSTR); @@ -2199,6 +2199,8 @@ static int node_texture_buts_proc(uiBlock *block, bNodeTree *ntree, bNode *node, w = butr->xmax - x; h = butr->ymax - y; } + else + return 0; switch( tex->type ) { case TEX_BLEND: |