We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code for deduplication can be cleaned up, similar to this example:
import bpy import re def remove_duplicate_groups(): node_groups = bpy.data.node_groups for group in node_groups: unduped_name, *_ = re.split("\.\d+$", group.name) if unduped_name in node_groups: group.user_remap(node_groups[unduped_name]) else: group.name = unduped_name for group in node_groups: split_name, *_ = re.split("\.\d+$", group.name) if len(_) > 0 and split_name in node_groups: node_groups.remove(group)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Code for deduplication can be cleaned up, similar to this example:
The text was updated successfully, but these errors were encountered: