From cdde5f537db2fa53428fad8f6a3a61dcf20741bd Mon Sep 17 00:00:00 2001 From: schroef Date: Thu, 4 Jun 2020 00:13:36 -0400 Subject: [PATCH] - Fix Rig Layers selection (selset) --- CHANGELOG.md | 9 +++++++-- README.md | 5 ++--- __init__.py | 6 +++--- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ebdbdc4..7c6203f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # Changelog All notable changes to this project will be documented in this file. +## [0.0.8] - 2020-06-03 +### Fix +- Rig layers set selection code + + ## [0.0.7] - 2020-05-27 ### Changed - Update panel layout, bigger add preset button @@ -42,11 +47,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +[0.0.8]:https://github.com/schroef/Rigify-Save-Presets/releases/tag/v0.0.8 [0.0.7]:https://github.com/schroef/Rigify-Save-Presets/releases/tag/v0.0.7 [0.0.6]:https://github.com/schroef/Rigify-Save-Presets/releases/tag/v0.0.6 [0.0.5]:https://github.com/schroef/Rigify-Save-Presets/releases/tag/v0.0.5 [0.0.4]:https://github.com/schroef/Rigify-Save-Presets/releases/tag/v0.0.4 [0.0.3]:https://github.com/schroef/Rigify-Save-Presets/releases/tag/v0.0.3 [0.0.2]:https://github.com/schroef/Rigify-Save-Presets/releases/tag/v0.0.2 -[0.0.1]:https://github.com/schroef/Rigify-Save-Presets/releases/tag/v0.0.1 - +[0.0.1]:https://github.com/schroef/Rigify-Save-Presets/releases/tag/v0.0.1 \ No newline at end of file diff --git a/README.md b/README.md index e5e3a80..45cd3eb 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This addon makes it possible to save rig setup to a preset folder. The function The added presets can then be loaded directly using the add menu. To get the new preset to show, you need to either restart blender or reload the all the addons pressing F8. Its also now possible save Rigify main settings as presets. These can be loaded at any time, no need for a refresh. -!['Example Rig Presets'](https://raw.githubusercontent.com/wiki/schroef/rigify/images/rigify-save-presets-v007.png?v27-05-2020) +!['Example Rig Presets'](https://raw.githubusercontent.com/wiki/schroef/rigify/images/rigify-save-presets-v008.png?v03062020) ## Rigify Addon @@ -31,8 +31,6 @@ It is important to note that Rigify only automates the creation of the rig contr ### Installation Process ->this addon requires Rigify to be active - 1. Download the latest [release](https://github.com/schroef/rigify-save-presets/releases/) 2. If you downloaded the zip file. 3. Open Blender. @@ -41,6 +39,7 @@ It is important to note that Rigify only automates the creation of the rig contr 6. Select the file `rigify-master.zip` from your download location.. 7. Activate the checkbox for the plugin that you will now find in the list. +>this addon requires Rigify to be active >Older 2.79 version can be found in this branch: [Rigify-Save-Presets bl2.79](https://github.com/schroef/Rigify-Save-Presets/tree/bl-279) diff --git a/__init__.py b/__init__.py index 1cdf08a..b712454 100644 --- a/__init__.py +++ b/__init__.py @@ -8,7 +8,7 @@ bl_info = { "name": "Rigify Save Presets", - "version": (0, 0, 7), + "version": (0, 0, 8), "author": "Rombout Versluijs", "blender": (2, 80, 0), "description": "Makes is easier to save rig presets to Rigify folder", @@ -65,11 +65,11 @@ def write_rig_settings(obj, layers=False, func_name="create", groups=False): for i in range(len(arm.rigify_layers)): name = arm.rigify_layers[i].name row = arm.rigify_layers[i].row - set = arm.rigify_layers[i].set + selset = arm.rigify_layers[i].selset group = arm.rigify_layers[i].group code.append('arm.rigify_layers[' + str(i) + '].name = "' + name + '"') code.append('arm.rigify_layers[' + str(i) + '].row = ' + str(row)) - code.append('arm.rigify_layers[' + str(i) + '].set = ' + str(set)) + code.append('arm.rigify_layers[' + str(i) + '].selset = ' + str(selset)) code.append('arm.rigify_layers[' + str(i) + '].group = ' + str(group)) #print(code)