Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-06-03Cleanup: remove <pep8 compliant> commentCampbell Barton
This is no longer necessary, see: T98554.
2022-02-11File headers: use SPDX license identifiersCampbell Barton
See T95597
2021-01-04Rigify: move drivers together with constraints and code improvement.Alexander Gavrilov
2020-12-21Rigify: generate UI script for custom properties from metarig.Alexander Gavrilov
Improve auto-generated UI naming and update basic.pivot, basic.raw_copy and basic.super_copy. Also allow raw_copy to generate builtin widgets.
2020-12-08Rigify: add the jaw and teeth widgets to the registered list.Alexander Gavrilov
2020-12-08Rigify: move constraints to control and deform bones in super_copy.Alexander Gavrilov
Use DEF: or CTRL: prefix on constraint names to move them during relink.
2020-12-08Rigify: support choosing widgets out of a list in super_copy and pivot.Alexander Gavrilov
Register the most generic widgets in the list and add a few more. Use it to assign a nicer looking shoulder widget in human metarigs.
2020-12-07Rigify: keep custom widgets already assigned in metarig.Alexander Gavrilov
Also make error handling more robust and extend constraint relink mixin.
2020-11-25Rigify: Fix T80764: handling of bones with ORG prefix in raw_copy.Alexander Gavrilov
Originally the raw_copy rig used a standard API of rigify to rename the bone after generate already added an ORG prefix. However, if the bone already had that prefix, generate didn't add the second one to avoid 'ORG-ORG', and thus raw_copy removed the only remaining prefix. As the simplest solution, hard-code handling of this rig in generate. This isn't that bad, because this rig is special by definition, and the special handling consists in doing nothing. The original API based code is kept commented out as an example.
2020-11-25Rigify: support including Inherit Scale and constraints in metarig.Alexander Gavrilov
Also fix metarig Inherit Scale support in limbs.super_finger.
2020-11-10Rigify: fix raw_copy not being able to find bones produced by legacy rigs.Alexander Gavrilov
In 2.90 derived bone lookup was tightened to fix certain issues when bone names use the .001 suffixes by using explicit data about which bone is derived from which one. Unfortunately, legacy rigs don't provide that info, so add a special case using matching by name. Also fix incorrect error reporting method name.
2020-06-29Fix T78193 (Rigify): use bone history tracking to find derived DEF bones.Alexander Gavrilov
It is not really safe to assume that by swapping ORG to DEF you will get a deform bone derived from the given ORG bone. The new base rig API already tracks copying of bones, so polish it up and use here. Note however that this tracking doesn't work with bones created without self.copy_bone, e.g. by legacy rigs.
2020-06-25Rigify: Clean up importsDemeter Dzadik
Just removing some unused imports. I tested generating every built-in metarig to make sure I didn't remove any imports that were actually used. I also tested installing and using a feature-set. Reviewed By: angavrilov Differential Revision: https://developer.blender.org/D8026
2019-12-22Rigify: replace Rename To Deform with a new basic.raw_copy rig.Alexander Gavrilov
Add a separate rig aimed at transferring bones from the metarig completely verbatim without the ORG prefix, and remove the hacky copy_chain/super_copy option for renaming ORG to DEF. Share the constraint retargeting feature between super_copy and raw_copy.
2019-11-04Rigify: add super_copy options to replace parent and constraint targets.Alexander Gavrilov
Allow replacing the parent bone and constraint targets after all bones have been generated. When enabled, constraints with a '@bone' notation in their name will have their target bone replaced with the one from the name. Using just 'MCH' or 'DEF' will replace the prefix of the existing target. The parent bone can be replaced via a string input field in rig options. Tested by wrapping the simple muscle system of MB-Lab.
2019-11-02Rigify: support switchable parents in the basic.pivot rig.Alexander Gavrilov
Implement options to generate a parent switch mechanism for the main pivot control, and to register the pivot as a parent for other rigs to use (including support for one level parent injection).
2019-11-02Rigify: switch the human metarig from simple_tentacle to super_finger.Alexander Gavrilov
For better compatibility, support the Tweak layer assignment in super_finger for the detail controls, and allow changing the B-Bone resolution.
2019-10-23Rigify: copy rigs can now rename the bone to DEF instead of copying.Alexander Gavrilov
This is necessary to fully preserve complex custom rigging (especially with B-Bones) included directly in the metarig. Doing this otherwise would require implementing correct copying of all possible constraints and bone settings.
2019-10-16Rigify: implement optional custom pivot controls.Alexander Gavrilov
- Add an optional custom pivot between torso and the rest of the spine. - Add a custom pivot rig that can be used as a parent of the spine. - Add an optional custom pivot under limb IK controls.
2019-09-14Rigify: redesign generate.py and introduce a base rig class.Alexander Gavrilov
The main goals are to provide an official way for rigs to interact in a structured way, and to remove mode switching within rigs. This involves introducing a base class for rigs that holds rig-to-rig and rig-to-bone references, converting the main generator into a class and passing it to rigs, and splitting the single generate method into multiple passes. For backward compatibility, old rigs are automatically handled via a wrapper that translates between old and new API. In addition, a way to create objects that receive the generate callbacks that aren't rigs is introduced via the GeneratorPlugin class. The UI script generation code is converted into a plugin. Making generic rig 'template' classes that are intended to be subclassed in specific rigs involves splitting operations done in each stage into multiple methods that can be overridden separately. The main callback thus ends up simply calling a sequence of other methods. To make such code cleaner it's better to allow registering those methods as new callbacks that would be automatically called by the system. This can be done via decorators. A new metaclass used for all rig and generate plugin classes builds and validates a table of all decorated methods, and allows calling them all together with the main callback. A new way to switch parents for IK bones based on the new features is introduced, and used in the existing limb rigs. Reviewers: icappiello campbellbarton Differential Revision: https://developer.blender.org/D4624
2018-10-22Rigify: Fixup from original 2.80 convertionDalai Felinto
This fix an error introduced on fe90ef2b4.
2018-08-10rigify: update for Blender 2.8Ines Almeida
2017-07-24Cleanup: trailing spacesCampbell Barton
2017-05-14Rigify 0.5 with legacy modeLucio Rossi
2013-02-16Rigify: changed rig type API. Disabled delta rig type.Nathan Vegdahl
I have updated the rig type API to be a bit clearer based on my interactions with Kfir from PitchiPoy. I've also disabled the "delta" rig type, as it is very obscure and mostly just confuses people.
2013-02-16Rigify: removed "from rigfy import X" statements where possible.Nathan Vegdahl
This makes it much easier for e.g. someone to branch Rigify for custom purposes, since there won't be weird name conflicts. Also changed from using __import__() for dynamic imports to using importlib.import_module(). This simplifies the code and should be more robust. Finally, misc pep8 cleanups.
2013-02-15Bunch of bug fixes.Nathan Vegdahl
The biggest fixes relate to keeping ID data modification out of draw methods. This was breaking Rigify with the current API. Secondary fix was to move widget meshes to match the bones, even if the widget meshes already exist. It's nice for when the user is progressively tweaking the metarig.
2013-01-22Rigify: fixed silly mistake in basic.copy rig sample.Nathan Vegdahl
Thanks to Jack Simpson for the heads up!
2012-01-01set as pep8, only minor editsCampbell Barton
2011-09-19/trunk: Removed final points in UI strings and messages.Bastien Montagne
Plus a few styling enhancements. [[Split portion of a mixed commit.]]
2011-07-11cleanupCampbell Barton
- remove/comment unused variables - remove unused imports - fixed some bugs using incorrect variables
2011-05-17Rigify: user can disable control and deform rig generation on copy and ↵Nathan Vegdahl
copy_chain.
2011-05-15Rigify: added a 'copy_chain' rig type.Nathan Vegdahl
This is useful for bone chains that need their parent-child relationships preserved exactly. For example, bbone chains, and chains that users want to use auto-ik on. Also moved the 'copy' rig type to the basic collection. This will break some existing metarigs, but it is very easy to fix. Just change the 'copy' rig type on bones that use it to 'basic.copy'.