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
diff options
context:
space:
mode:
authorAlexander Gavrilov <angavrilov@gmail.com>2021-08-10 21:19:11 +0300
committerAlexander Gavrilov <angavrilov@gmail.com>2021-08-10 21:19:24 +0300
commit2acf22b5932c57f7d29b578fc74542f81d4fb087 (patch)
treef98d1929d023ab45abc9291ce6273bff51dcfb9a /rigify/utils/layers.py
parentbb587e5bf80ea81d03f4ad7a22f209d687dbf818 (diff)
Rigify: move new face rig components from the experimental feature set.
Apart from imports the files are identical to the latest version. Ref T89808
Diffstat (limited to 'rigify/utils/layers.py')
-rw-r--r--rigify/utils/layers.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/rigify/utils/layers.py b/rigify/utils/layers.py
index 1f65863d..bc5a8c56 100644
--- a/rigify/utils/layers.py
+++ b/rigify/utils/layers.py
@@ -160,3 +160,16 @@ ControlLayersOption.TWEAK = ControlLayersOption('tweak', description="Layers for
# Layer parameters used by the super_face rig.
ControlLayersOption.FACE_PRIMARY = ControlLayersOption('primary', description="Layers for the primary controls to be on")
ControlLayersOption.FACE_SECONDARY = ControlLayersOption('secondary', description="Layers for the secondary controls to be on")
+
+# Layer parameters used by the skin rigs
+ControlLayersOption.SKIN_PRIMARY = ControlLayersOption(
+ 'skin_primary', toggle_default=False,
+ toggle_name="Primary Control Layers",
+ description="Layers for the primary controls to be on",
+)
+
+ControlLayersOption.SKIN_SECONDARY = ControlLayersOption(
+ 'skin_secondary', toggle_default=False,
+ toggle_name="Secondary Control Layers",
+ description="Layers for the secondary controls to be on",
+)