diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2020-12-05 00:27:10 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2020-12-05 00:27:20 +0300 |
commit | 0871d330e9028820bf6059d804f09b66021122d7 (patch) | |
tree | 9153e2858333d56d09eed2df8a7532b4cb129a02 /rigify/__init__.py | |
parent | 1a2a24bf4af96c6788eab79c257c32e19124ec26 (diff) |
Rigify: a number of small fixes.
- Don't try to add an update callback to CollectionProperty.
- Restore exact alignment of the super_finger master control to 1st bone.
- Add an option to run a sub-object after all methods of the parent.
- Fix wrong identifier in SideZ.from_parts.
Diffstat (limited to 'rigify/__init__.py')
-rw-r--r-- | rigify/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rigify/__init__.py b/rigify/__init__.py index df584872..7e5ee944 100644 --- a/rigify/__init__.py +++ b/rigify/__init__.py @@ -474,7 +474,8 @@ class RigifyParameterValidator(object): print("!!! PREVIOUS DEFINITION BY %s:\n\n %s\n" % (cur_rig, format_property_spec(cur_info))) # inject a generic update callback that calls the appropriate rig classmethod - val[1]['update'] = update_callback(name) + if val[0] != bpy.props.CollectionProperty: + val[1]['update'] = update_callback(name) setattr(self.__params, name, val) self.__prop_table[name] = (self.__rig_name, new_def) |