Browse Source

Add missing descriptions for PlasmaAnimStageSettingsNode properties.

pull/186/head
Joseph Davies 4 years ago
parent
commit
52c466a698
Signed by untrusted user: Deledrius
GPG Key ID: 28ACC6E8D2B24B8A
  1. 30
      korman/nodes/node_avatar.py

30
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) bl_color = (0.412, 0.2, 0.055, 1.0)
anim_play_flags = [("kPlayNone", "None", ""), anim_play_flags = [("kPlayNone", "None", "Play stage only when directed by a message"),
("kPlayKey", "Keyboard", ""), ("kPlayKey", "Keyboard", "Play stage when the user presses the forward/backward key"),
("kPlayAuto", "Automatic", "")] ("kPlayAuto", "Automatic", "Play stage automatically")]
anim_stage_flags = [("kAdvanceNone", "None", ""), anim_stage_adv_flags = [("kAdvanceNone", "None", "Advance to the next stage only when directed by a message"),
("kAdvanceOnMove", "Movement", ""), ("kAdvanceOnMove", "Movement", "Advance to the next stage when the user presses a movement key"),
("kAdvanceAuto", "Automatic", ""), ("kAdvanceAuto", "Automatic", "Advance to the next stage automatically when this one completes"),
("kAdvanceOnAnyKey", "Any Keypress", "")] ("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): class PlasmaAnimStageSettingsSocket(PlasmaNodeSocketBase, bpy.types.NodeSocket):
@ -135,20 +139,20 @@ class PlasmaAnimStageSettingsNode(PlasmaNodeBase, bpy.types.Node):
bl_width_default = 325 bl_width_default = 325
forward = EnumProperty(name="Forward", forward = EnumProperty(name="Forward",
description="", description="Selects which events cause this stage to play forward",
items=anim_play_flags, items=anim_play_flags,
default="kPlayNone") default="kPlayNone")
backward = EnumProperty(name="Backward", backward = EnumProperty(name="Backward",
description="", description="Selects which events cause this stage to play backward",
items=anim_play_flags, items=anim_play_flags,
default="kPlayNone") default="kPlayNone")
stage_advance = EnumProperty(name="Stage Advance", stage_advance = EnumProperty(name="Stage Advance",
description="", description="Selects which events cause this stage to advance to the next stage",
items=anim_stage_flags, items=anim_stage_adv_flags,
default="kAdvanceNone") default="kAdvanceNone")
stage_regress = EnumProperty(name="Stage Regress", stage_regress = EnumProperty(name="Stage Regress",
description="", description="Selects which events cause this stage to regress to the previous stage",
items=anim_stage_flags, items=anim_stage_rgr_flags,
default="kAdvanceNone") default="kAdvanceNone")
notify_on = EnumProperty(name="Notify", notify_on = EnumProperty(name="Notify",

Loading…
Cancel
Save