diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-11-12 16:03:12 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-11-12 16:03:12 +0300 |
commit | 46f452e96baaf9424582003e87736840ccbbffca (patch) | |
tree | 473504617269380df580b584854b6ef8feaad570 /source/blender/editors/space_node/node_relationships.c | |
parent | 833ef0cfdd0ac9154f018c17a80ca8cdc7c15bc9 (diff) |
Fix error cutting node links
Accessing theme from outside drawing code isn't reliable, pass space-type.
Diffstat (limited to 'source/blender/editors/space_node/node_relationships.c')
-rw-r--r-- | source/blender/editors/space_node/node_relationships.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/node_relationships.c b/source/blender/editors/space_node/node_relationships.c index 4097db29e5a..3bd72370f5f 100644 --- a/source/blender/editors/space_node/node_relationships.c +++ b/source/blender/editors/space_node/node_relationships.c @@ -849,7 +849,7 @@ void NODE_OT_link_make(wmOperatorType *ot) } /* ********************** Cut Link operator ***************** */ -static int cut_links_intersect(bNodeLink *link, float mcoords[][2], int tot) +static bool cut_links_intersect(bNodeLink *link, float mcoords[][2], int tot) { float coord_array[NODE_LINK_RESOL + 1][2]; int i, b; |