Basic Viseme Creation Support

Does not work yet, but it's the start
This commit is contained in:
Yusarina
2024-07-08 09:41:46 +01:00
parent eaafd3bb69
commit 07b2dba51f
5 changed files with 180 additions and 1 deletions
+11 -1
View File
@@ -13,6 +13,16 @@ def register():
update=update_language
)
bpy.types.Scene.mouth_a = bpy.props.StringProperty(name=t("Scene.mouth_a.label"), description=t("Scene.mouth_a.desc"))
bpy.types.Scene.mouth_o = bpy.props.StringProperty(name=t("Scene.mouth_o.label"), description=t("Scene.mouth_o.desc"))
bpy.types.Scene.mouth_ch = bpy.props.StringProperty(name=t("Scene.mouth_ch.label"), description=t("Scene.mouth_ch.desc"))
bpy.types.Scene.shape_intensity = bpy.props.FloatProperty(name=t("Scene.shape_intensity.label"), description=t("Scene.shape_intensity.desc"), default=1.0, min=0.0, max=2.0)
def unregister():
if hasattr(bpy.types.Scene, "avatar_toolkit_language"):
del bpy.types.Scene.avatar_toolkit_language
del bpy.types.Scene.avatar_toolkit_language
del bpy.types.Scene.mouth_a
del bpy.types.Scene.mouth_o
del bpy.types.Scene.mouth_ch
del bpy.types.Scene.shape_intensity