Fix #102529: De-duplicate add node search items with assets
Fix a little omission. The id name has a 2 char prefix which has to be removed in order to compare to the real name. Pull Request #104793
This commit is contained in:
committed by
Hans Goudey
parent
72a2229848
commit
c59d2f3f2d
@@ -132,7 +132,7 @@ static void gather_search_items_for_node_groups(const bContext &C,
|
||||
if (node_group->typeinfo->group_idname != group_node_id) {
|
||||
continue;
|
||||
}
|
||||
if (local_assets.contains(node_group->id.name)) {
|
||||
if (local_assets.contains(node_group->id.name + 2)) {
|
||||
continue;
|
||||
}
|
||||
if (!nodeGroupPoll(&node_tree, node_group, nullptr)) {
|
||||
|
||||
Reference in New Issue
Block a user