From 94a91d86e2930c669c6143640360256af4a12609 Mon Sep 17 00:00:00 2001 From: miquelcampos Date: Wed, 17 Mar 2021 09:27:15 +0900 Subject: [PATCH] update rigging workflow documentation snippet --- docs/source/official-unofficial-workflow.rst | 8 +++++--- framework/rigbits | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/source/official-unofficial-workflow.rst b/docs/source/official-unofficial-workflow.rst index d0c0cd1c..ad82b416 100644 --- a/docs/source/official-unofficial-workflow.rst +++ b/docs/source/official-unofficial-workflow.rst @@ -118,18 +118,20 @@ There is an autorigging utility to build the eyes and lips based on selecting ed .. code-block:: python - from mgear import rigbits import os lipsConfigPath = os.path.abspath(os.path.join('YOUR PATH HERE')) eyesConfigPath = os.path.abspath(os.path.join('YOUR PATH HERE')) # OLD LEGACY eye_rigger and lips_rigger tool + from mgear import rigbits rigbits.eye_rigger.eyesFromfile(eyesConfigPath) rigbits.lips_rigger.lipsFromfile(lipsConfigPath) # NEW "facial_rigger" module - rigbits.facial_rigger.eye_rigger.rig_from_file(eyesConfigPath) - rigbits.facial_rigger.lips_rigger.rig_from_file(lipsConfigPath) + from mgear.rigbits.facial_rigger import eye_rigger + from mgear.rigbits.facial_rigger import facial_rigger + eye_rigger.rig_from_file(eyesConfigPath) + lips_rigger.rig_from_file(lipsConfigPath) 8) That is going to load your lip rigging. AFTER you load the lip rigging, you want to load your skin weights. Make sure to run the lips rig first, and then import the skinning, otherwise the joints won't exist yet! In this pipeline, you need to think about the order that things happen. diff --git a/framework/rigbits b/framework/rigbits index 1be5e8c4..b5aa43b6 160000 --- a/framework/rigbits +++ b/framework/rigbits @@ -1 +1 @@ -Subproject commit 1be5e8c4860b911c96fa0e49e0a040e053b7b4d5 +Subproject commit b5aa43b694cfefd13c2b1742562da0fd4fd6149e