Cleanup: use const arguments for accessor functions

This commit is contained in:
2021-06-30 16:37:14 +10:00
parent df9597cfba
commit 501d2443d0
70 changed files with 249 additions and 233 deletions

View File

@@ -1357,9 +1357,9 @@ void NODE_OT_duplicate(wmOperatorType *ot)
ot->srna, "keep_inputs", false, "Keep Inputs", "Keep the input links to duplicated nodes");
}
bool ED_node_select_check(ListBase *lb)
bool ED_node_select_check(const ListBase *lb)
{
LISTBASE_FOREACH (bNode *, node, lb) {
LISTBASE_FOREACH (const bNode *, node, lb) {
if (node->flag & NODE_SELECT) {
return true;
}