Skip to content
Snippets Groups Projects
Commit 967056af authored by Nathan Vegdahl's avatar Nathan Vegdahl
Browse files

Rigify: bug fix, trying assign invalid group.

parent 653ccca3
No related branches found
No related tags found
No related merge requests found
......@@ -380,12 +380,13 @@ def copy_attributes(a, b):
for key in keys:
if not key.startswith("_") \
and not key.startswith("error_") \
and key != "group" \
and key != "is_valid" \
and key != "rna_type" \
and key != "bl_rna":
try:
setattr(b, key, getattr(a, key))
except AttributeError:
except AttributeError as e:
pass
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment