diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-09-14 10:17:14 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-09-14 10:17:14 +0400 |
commit | 7a71f58af3b5f70e8982d827d1fef7e8bc4e4ec8 (patch) | |
tree | ae5ee3e8c3a1d029e54531bbfd5ac8db42d9f7d9 /source/blender/nodes/composite/node_composite_tree.c | |
parent | 3957efdd38d0d5136f8d106de3a79e07b7b0b15f (diff) |
fixes for NULL checks, remove some redundant checks and add some in that have been removed by accident as code has been updated.
Diffstat (limited to 'source/blender/nodes/composite/node_composite_tree.c')
-rw-r--r-- | source/blender/nodes/composite/node_composite_tree.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/nodes/composite/node_composite_tree.c b/source/blender/nodes/composite/node_composite_tree.c index 07db1ce1a18..e1510f9f813 100644 --- a/source/blender/nodes/composite/node_composite_tree.c +++ b/source/blender/nodes/composite/node_composite_tree.c @@ -785,7 +785,6 @@ static void force_hidden_passes(bNode *node, int passflag) if (!(passflag & SCE_PASS_TRANSM_INDIRECT)) sock->flag |= SOCK_UNAVAIL; sock= BLI_findlink(&node->outputs, RRES_OUT_TRANSM_COLOR); if (!(passflag & SCE_PASS_TRANSM_COLOR)) sock->flag |= SOCK_UNAVAIL; - sock= BLI_findlink(&node->outputs, RRES_OUT_TRANSM_COLOR); } /* based on rules, force sockets hidden always */ |