Browse Source

Fix SDL state for animated lamps

Slight indent change to enable SDL states for lamp RGB and energy animations.
pull/219/head
Patrick Dulebohn 4 years ago
parent
commit
2f6fa7a75d
  1. 4
      korman/ui/modifiers/anim.py

4
korman/ui/modifiers/anim.py

@ -43,8 +43,8 @@ def animation(modifier, layout, context):
col.enabled = modifier.loop and not modifier.obj_sdl_anim col.enabled = modifier.loop and not modifier.obj_sdl_anim
col.prop_search(modifier, "loop_start", action, "pose_markers", icon="PMARKER") col.prop_search(modifier, "loop_start", action, "pose_markers", icon="PMARKER")
col.prop_search(modifier, "loop_end", action, "pose_markers", icon="PMARKER") col.prop_search(modifier, "loop_end", action, "pose_markers", icon="PMARKER")
layout.separator() layout.separator()
layout.prop(modifier, "obj_sdl_anim") layout.prop(modifier, "obj_sdl_anim")
def animation_filter(modifier, layout, context): def animation_filter(modifier, layout, context):
split = layout.split() split = layout.split()

Loading…
Cancel
Save