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
path: root/rigify
AgeCommit message (Collapse)Author
2019-07-31Spelling fixes in comments and descriptions, patch by luzpazBrecht Van Lommel
Differential Revision: https://developer.blender.org/D5240
2019-06-28Fix rigify Python errors when there is no active objectBrecht Van Lommel
2019-06-20Fix T65949: rigify error when generating rigBrecht Van Lommel
Only objects in the current view layer can be deselected, this would throw an error when there exist objects not in the current view layer.
2019-05-29Rigify: force reloading rigs to prune the last deleted feature set.Alexander Gavrilov
2019-05-29Rigify: refactor feature sets to avoid modifying global path.Alexander Gavrilov
Instead of adding the feature set installation directory to the global path, and thus inserting the modules into the top level namespace, add an empty rigify.feature_sets package and use __path__ to redirect the module loader to read its sub-modules from the feature set directory. Now feature set modules are effectively installed into that package and loaded as 'rigify.feature_sets.foo'. As an aside, clean up loading code to avoid weird path manipulations, add more safety checks when installing sets, and add a way for sets to expose a user-friendly name.
2019-05-27Fix T63624: Rigify Quaternion/Euler conversion errors (2.8 compat fix).Alexander Gavrilov
2019-05-22Rigify: fix the use_global_undo change and fix driver creation for 2.8.Alexander Gavrilov
Using obj.animation_data.drivers[-1] in driver creation is very bad and error prone. After recent change in Blender, that won't even work for drivers on Bone, so fix all such uses.
2019-05-22Rigify: update super_chain to 2.8 and hide most operators from search.Alexander Gavrilov
2019-05-22Add-ons: remove temporary disabling of use_global_undoBrecht Van Lommel
This can cause bugs where if the operator throws an exception, undo is not properly enabled again. There have been maybe a dozen Blender bug reports related to this. This could get worse now that we are autosaving preferences. Some add-ons guard against this, but turning off undo should not be needed in the first place. If the operator is set to do an undo push, any operators it calls will automatically not do any undo pushes. If this fail in some cases, it should be reported as a bug in Blender. I could not find issues or a performance impact testing a few add-ons though. Differential Revision: https://developer.blender.org/D4908
2019-05-16Rigify: replace the use of the now removed scene.update()Alexander Gavrilov
2019-05-14Rigify: clear the Armature animation data in addition to the Object.Alexander Gavrilov
After the change in PoseBone.bone behavior, drivers will be added there.
2019-05-09Rigify: change the first variable name for var0 to var in make_driver.Alexander Gavrilov
Only my own branch and feature sets use this, so should be safe to change. This naming is more similar to what blender UI does when adding vars.
2019-05-09Rigify: fix encoding metarig.Damien Picard
The `Encode Metarig to Python` operator was broken as there was some leftover code from the UI template system I made last year. Differential Revision: https://developer.blender.org/D4827
2019-05-07Rigify: improve widget placement, widget generation and make_driver.Alexander Gavrilov
- Take into account the custom shape settings of the bone when creating and placing the custom widget object. - Change write_widget to wrap the generated list text and fix undefined variable errors if there are no verts/edges/faces. - Automatically look up string to bone in self.make_driver().
2019-05-05Rigify: new utilities for bone naming and driver creation, and some fixes.Alexander Gavrilov
- Added a utility for creating Transform Channel driver variables. - Added a utility for deriving one bone name from another with suffix. The bone name utility is inspired by get_bone_name from limb_utils.py
2019-05-05Rigify: move the generated panels to the Item tab.Alexander Gavrilov
Since they are specific to the selected armature/bone, they match that tab better, and the animator would want to have them next to the built-in transforms and custom properties.
2019-05-03Rigify: re-register rig parameters after installing a feature set package.Alexander Gavrilov
Otherwise the rig properties may not work correctly until blender restart.
2019-05-03Rigify: improve robustness with bad feature set packages.Alexander Gavrilov
Verify the basic expected directory structure inside the ZIP archive before installing it, and catch exceptions when loading the already installed packages.
2019-04-16Rigify: change make_property to wrap the official rna_idprop_ui_create.Alexander Gavrilov
Also add keyword-only argument markers for clarity.
2019-03-26Fix T62976: Rigify itself and its generated scripts fail to load.Alexander Gavrilov
Panel identifier naming restrictions are now enforced more strictly.
2019-03-26Rigify: partial revert "Update for changes to Blender"Alexander Gavrilov
This reverts unnecessary renaming from b2b015a396372.
2019-03-24Rigify: properly set custom property defaults and overridable flags.Alexander Gavrilov
Refactor rigs to use the new make_property utility function, and implement new 2.8 specific settings using it. The default value is now important for NLA evaluation, and the override flag will be used by the upcoming static override feature. Default can be backported to 2.79 for 2.8 forward compatibility.
2019-03-24Rigify: fix generation if a hidden collection is selected.Alexander Gavrilov
Only visible and selectable collections can be used for temporary objects during generation due to the way operators work.
2019-03-14Rigify: add support for user-defined rig packages and related utilities.Alexander Gavrilov
As suggested by @icappielo, and after discussion with @meta-androcto, I start a public request to commit third-party contributions already accepted to https://github.com/eigen-value/rigify/tree/rigify_0.6_beta Specifically, this includes: * User-defined rig package (feature set) support by @pioverfour. This allows users to install pre-packaged rig sets via zip files, which become accessible together with built-in rigs, as discussed in T52758. https://github.com/eigen-value/rigify/pull/1 * Modularization of python script generation, allowing rigs to add their own utility functions and operators to the generated script. This is critical to make custom rig support really useful. https://github.com/eigen-value/rigify/pull/5 * The utils.py file is split into multiple modules with a backward compatibility proxy for old functions. * Automatic verification that different rigs don't try to create different rig settings with the same name to alleviate increased risk of namespace conflicts with custom rigs. https://github.com/eigen-value/rigify/pull/7 * New utility class that implements bone layer selection UI. https://github.com/eigen-value/rigify/pull/6 * New utilities to replace copy & pasted boilerplate code for creating custom properties, constraints and drivers. https://github.com/eigen-value/rigify/pull/11 Some other random changes by MAD have likely slipped through. These changes have already been extensively discussed and accepted into the branch by @luciorossi, so I see no reason not to commit them to the official repository to be tested during 2.8 beta. Reviewers: icappiello Differential Revision: https://developer.blender.org/D4364
2019-03-12Update for changes to BlenderCampbell Barton
2019-03-07Rigify: experimental super chain cleanupLucio Rossi
2019-02-21super limb fixesLucio Rossi
2019-02-19Fix T61711: Rigify fails to complete generate if no rigs create drivers.Alexander Gavrilov
The code attaching the UI script to the rig didn't check that animation_data exists before accessing it.
2018-12-21Rename user_preferences -> preferencesCampbell Barton
2018-11-19Rigify: wipe RigifyParameters in unregister to avoid error spam.Alexander Gavrilov
The 'make annotation' spam also happens on addon enable toggle, so apply the legacy toggle fix globally.
2018-11-19Rigify: fix collection handling.Alexander Gavrilov
- Legacy mode didn't add objects to proper collections. - Things broke if the Widgets collection already existed in another scene - linking the collection should be a separate step from creating it.
2018-11-19Rigify: fix incomplete update of legacy mode to 2.8.Alexander Gavrilov
Apply remaining * to @ and property via annotation changes (mainly in the UI script templates), and the error spam fix from b424215f53.
2018-11-19Rigify: clear RigifyParameters properties when toggling legacy mode.Alexander Gavrilov
Registering and unregistering the class causes 2.8 to complain about non-annotation properties, and this avoids the problem. Plus, legacy and non-legacy shouldn't interact.
2018-11-15Rigify: fix incorrect constraints in super_face to avoid error spam.Alexander Gavrilov
In 2.8 depsgraph prints a lot of error messages if constraints try to reference non-existant bones, which slows things down if nothing else.
2018-11-14Rigify: add missing bl_category to the generated script template.Alexander Gavrilov
2018-11-14Rigify: revert erroneous edits from Blender 2.8 update commit.Alexander Gavrilov
Fix remaining mistakes from fe90ef2b4 not corrected by 9940479d2.
2018-11-08Update for changes in Blender's APICampbell Barton
2018-11-06Updates for change in ViewLayer RNA API.Bastien Montagne
2018-10-26Rigify UI: Move operators to sidebarDalai Felinto
Since some recent change in 2.8 the UI for rigify is no longer working. Note: if your object has ANY custom property, the custom property shows as a Misc. category, it is not particular to rigify, so I will not bother with this here.
2018-10-23Rigify: Fix collections/layersDalai Felinto
Now all the widget elements are in the Widgets collection. And the collection is hidden for the viewport. There is one thing still not fully working, but it is a bug in Blender I believe. Basically not all the custom bones are shown until you go to an object that has its mesh and toggle in and out of edit mode.
2018-10-23Rigify: Fix remaining math update (*/@)Dalai Felinto
2018-10-22Rigify: More updates for 2.8 APIDalai Felinto
With those changes the addon is working in some functional state. Thus I'm bumping its version to 2.80. TODOS: * Handle collections (put all the new objects in a collection). * We should also replace the old WGT_LAYERS with subcollections. * Move toolshelf operators out of there (make tools or move to sidebar).
2018-10-22Rigify: UI fix left over from OT.type > OT.anim_type change and miscDalai Felinto
2018-10-22Rigify: Hack to make sure UI is always linked to the objectDalai Felinto
This replaces the old trick of using game controllers.
2018-10-22Rigify: Fixup from original 2.80 convertionDalai Felinto
This fix an error introduced on fe90ef2b4.
2018-10-22Rigify: Update for 2.8 APIDalai Felinto
The UI is still using the toolshelf. So I did not bump the version to 2.80. It seems to be working as far as the UI and the quat/euler operators is concerned.
2018-10-19Merge branch 'master' into blender2.8Brecht Van Lommel
2018-10-19Spelling fixes in comments and descriptions, patch by luzpaz.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3746
2018-09-07Merge branch 'master' into blender2.8Campbell Barton
2018-09-07Cleanup: trailing spaceCampbell Barton