Commit Graph

6 Commits

Author SHA1 Message Date
80d5a67fc4 Rigify: reduce the number of noinspection comment markers.
- Introduce IdPropSequence, declaring the interface of python
  collection properties.
- Introduce additional accessors to injected bpy.types properties.
- Rename a few fields and functions.
- Prefer the more standard 'noqa' tag comment.
2022-11-22 14:40:14 +02:00
3d89a38c19 Rigify: finish clearing out warnings in functional code. 2022-11-21 01:15:00 +02:00
016430de4b Cleanup: remove <pep8 compliant> comment
This is no longer necessary, see: T98554.
2022-06-03 11:50:32 +10:00
b8d86ccc0a File headers: use SPDX license identifiers
See T95597
2022-02-11 16:05:07 +11:00
4f2cfb266a Rigify: Operators to copy and mirror parameters
This patch adds two new operators to the Rigify drop-down menu: Copy Parameters to Selected Bones and Mirror Parameters. I use both of these on a daily basis when working with Rigify, and I don't know how people live without it.
{F10171452}

To test the more unusual cases, you can grab my [feature set](https://gitlab.com/blender/CloudRig) and this file:
{F10178637}
There are two sets of symmetrical bones, with totally assymetrical parameters of all kinds of types. (CollectionProperty of PropertyGroups with just a couple strings, PointerProperty at Object datablock, BoolVectorProperty, EnumProperty, FloatVectorProperty, and the basic things like bools and ints, all seems to work!)

In a later patch if people like the idea, I would also add the Copy Rigify Parameters button to the Copy Attributes addon's Ctrl+C menu (that would only appear when Rigify is enabled, of course).

Reviewed By: sybren, angavrilov, #animation_rigging

Differential Revision: https://developer.blender.org/D11606
2021-11-03 11:43:05 +01:00
046114b96a Rigify: add utility and operator classes for the upcoming face rigs.
- LazyRef utility class that provides a hashable field reference.
- NodeMerger plugin for grouping abstract points by distance.
- pose.rigify_copy_single_parameter operator for copying a single
  property to all selected rigs that inherit from a specific class
  (intended to be used via property panel buttons).
2021-07-06 21:57:11 +03:00