From 52c466a6985003e4f5c598a76a95453c5e6cc17e Mon Sep 17 00:00:00 2001 From: Joseph Davies Date: Tue, 30 Jun 2020 06:18:08 -0700 Subject: [PATCH] Add missing descriptions for PlasmaAnimStageSettingsNode properties. --- korman/nodes/node_avatar.py | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/korman/nodes/node_avatar.py b/korman/nodes/node_avatar.py index 5579fc8..0049bb4 100644 --- a/korman/nodes/node_avatar.py +++ b/korman/nodes/node_avatar.py @@ -115,13 +115,17 @@ class PlasmaAnimStageOrderSocketOut(PlasmaNodeSocketBase, bpy.types.NodeSocket): bl_color = (0.412, 0.2, 0.055, 1.0) -anim_play_flags = [("kPlayNone", "None", ""), - ("kPlayKey", "Keyboard", ""), - ("kPlayAuto", "Automatic", "")] -anim_stage_flags = [("kAdvanceNone", "None", ""), - ("kAdvanceOnMove", "Movement", ""), - ("kAdvanceAuto", "Automatic", ""), - ("kAdvanceOnAnyKey", "Any Keypress", "")] +anim_play_flags = [("kPlayNone", "None", "Play stage only when directed by a message"), + ("kPlayKey", "Keyboard", "Play stage when the user presses the forward/backward key"), + ("kPlayAuto", "Automatic", "Play stage automatically")] +anim_stage_adv_flags = [("kAdvanceNone", "None", "Advance to the next stage only when directed by a message"), + ("kAdvanceOnMove", "Movement", "Advance to the next stage when the user presses a movement key"), + ("kAdvanceAuto", "Automatic", "Advance to the next stage automatically when this one completes"), + ("kAdvanceOnAnyKey", "Any Keypress", "Advance to the next stage when the user presses any key")] +anim_stage_rgr_flags = [("kAdvanceNone", "None", "Regress to the previous stage only when directed by a message"), + ("kAdvanceOnMove", "Movement", "Regress to the previous stage when the user presses a movement key"), + ("kAdvanceAuto", "Automatic", "Regress to the previous stage automatically when this one completes"), + ("kAdvanceOnAnyKey", "Any Keypress", "Regress to the previous stage when the user presses any key")] class PlasmaAnimStageSettingsSocket(PlasmaNodeSocketBase, bpy.types.NodeSocket): @@ -135,20 +139,20 @@ class PlasmaAnimStageSettingsNode(PlasmaNodeBase, bpy.types.Node): bl_width_default = 325 forward = EnumProperty(name="Forward", - description="", + description="Selects which events cause this stage to play forward", items=anim_play_flags, default="kPlayNone") backward = EnumProperty(name="Backward", - description="", + description="Selects which events cause this stage to play backward", items=anim_play_flags, default="kPlayNone") stage_advance = EnumProperty(name="Stage Advance", - description="", - items=anim_stage_flags, + description="Selects which events cause this stage to advance to the next stage", + items=anim_stage_adv_flags, default="kAdvanceNone") stage_regress = EnumProperty(name="Stage Regress", - description="", - items=anim_stage_flags, + description="Selects which events cause this stage to regress to the previous stage", + items=anim_stage_rgr_flags, default="kAdvanceNone") notify_on = EnumProperty(name="Notify",