Files
BlenderAssets-Broken-LFS/Purchased/HG/scripts/Convert_livekeys_to_shapekeys.py
2025-08-19 01:51:35 -06:00

15 lines
468 B
Python

"""Converts all sliders to shapekeys. You can then find the shapekeys in the shapekey panel of the mesh."""
import bpy
from HumGen3D import Human
def main(context: bpy.types.Context, human: Human):
"""Converts all livekeys to shapekeys.
Args:
context (bpy.types.Context): Blender context.
human (Human): Instance of a single human. Script will be run for each human.
"""
for key in human.keys.all_livekeys:
key.to_shapekey()