minor refactor for rect functions. more consistent naming.
[blender.git] / source / blender / editors / space_node / node_edit.c
index c4e72fa4a51e323150b60080522b4343981ae048..82f3eb1890dbcddb90b1bab3b4a8aab51624e7f7 100644 (file)
@@ -1521,7 +1521,7 @@ static bNode *visible_node(SpaceNode *snode, rctf *rct)
        bNode *node;
        
        for (node = snode->edittree->nodes.last; node; node = node->prev) {
-               if (BLI_isect_rctf(&node->totr, rct, NULL))
+               if (BLI_rctf_isect(&node->totr, rct, NULL))
                        break;
        }
        return node;