Skip to content
Snippets Groups Projects
  1. Feb 03, 2023
  2. Nov 22, 2022
  3. Nov 21, 2022
  4. Nov 13, 2022
    • Alexander Gavrilov's avatar
      Rigify: annotate and fix warnings in basic rig components. · 01e8af33
      Alexander Gavrilov authored
      Introduce a method to annotate types and names of entries in the
      `bones` container of rig components and apply it, and other type
      annotations, to a number of not very complex rig classes.
      
      - Introduce BaseRigMixin as a typed base class for mixins intended
        for use in rig classes (using BaseRig as a parent causes issues).
      - Introduce TypedBoneDict that does not suppress the unknown attribute
        analysis in PyCharm, and use it in a system of subclasses to
        annotate the bones in various rigs. BaseBoneDict is necessary
        because the annotation affects all subclasses, so TypedBoneDict
        cannot inherit from BoneDict with the annotation.
      - Add or adjust other type annotations of rig methods and utilities.
      - Fix other warnings, e.g. undeclared attributes, excessively long
        lines, whitespace style issues and typos.
      01e8af33
  5. Nov 07, 2022
    • Alexander Gavrilov's avatar
      Rigify: port the ability to generate Action constraints from CloudRig. · dddf346f
      Alexander Gavrilov authored
      CloudRig has a feature that allows the user to automatically generate
      Action constraints that move bones of the rig based on the position
      of other bones. This is done by adding and configuring the actions
      in a UI panel of the metarig. The feature also supports corrective
      actions that activate based on the state of two other actions.
      
      This ports the feature to base Rigify with the necessary changes in
      code organization and style, and replacing CloudRig-specific code.
      
      There are also some functional changes:
      
      - The order of action constraints is reversed.
      - The way symmetry of LOCATION_X is handed is changed to
        match how Paste Pose Flipped works.
      - The action slot UI is shown even without a generated rig.
      - More alerts in the UI, e.g. for duplicate rows.
      
      Differential Revision: https://developer.blender.org/D16336
      dddf346f
Loading