Basic Viseme Creation Support
Does not work yet, but it's the start
This commit is contained in:
+11
-1
@@ -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
|
||||
Reference in New Issue
Block a user