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-15 20:09:18 +0300
committerAlexander Gavrilov <angavrilov@gmail.com>2021-08-15 20:09:18 +0300
commit985f6d8c304630c155133e9b368fdb7a29cac216 (patch)
tree49a49202f74f9f3c64639128fd7335221ee1140a /rigify/rigs/faces/super_face.py
parent84405f65259958b835f3ec0325802e3003098678 (diff)
Rigify: add an operator to upgrade the old face rig to modular face.
Converted from the script originally included in the feature set. This operator aims to preserve compatibility with the existing weight painting, but not animations, since the latter is impossible anyway due to major differences in the rig chains.
Diffstat (limited to 'rigify/rigs/faces/super_face.py')
-rw-r--r--rigify/rigs/faces/super_face.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/rigify/rigs/faces/super_face.py b/rigify/rigs/faces/super_face.py
index 6cf2cd35..312ecf56 100644
--- a/rigify/rigs/faces/super_face.py
+++ b/rigify/rigs/faces/super_face.py
@@ -1030,6 +1030,10 @@ def add_parameters(params):
def parameters_ui(layout, params):
""" Create the ui for the rig parameters."""
+ layout.label(text='This monolithic face rig is deprecated.', icon='INFO')
+ layout.operator("pose.rigify_upgrade_face")
+ layout.separator()
+
ControlLayersOption.FACE_PRIMARY.parameters_ui(layout, params)
ControlLayersOption.FACE_SECONDARY.parameters_ui(layout, params)