Cleanup: Remove unused variable in a add node search function

Pull Request: https://projects.blender.org/blender/blender/pulls/109385
This commit is contained in:
Iliya Katueshenock
2023-06-26 19:59:42 +02:00
committed by Hans Goudey
parent 49977c3aee
commit 6bccea2ceb

View File

@@ -222,7 +222,7 @@ static void add_node_search_exec_fn(bContext *C, void *arg1, void *arg2)
}
node_deselect_all(node_tree);
Vector<bNode *> new_nodes = item->add_fn(*C, node_tree, storage.cursor);
item->add_fn(*C, node_tree, storage.cursor);
/* Ideally it would be possible to tag the node tree in some way so it updates only after the
* translate operation is finished, but normally moving nodes around doesn't cause updates. */