mirror of https://github.com/AxioDL/metaforce.git
Added additive property for actions
This commit is contained in:
parent
abdda8d6dd
commit
df7751d3ad
|
@ -54,7 +54,9 @@ def draw(layout, context):
|
||||||
#layout.prop(linked_action, 'hecl_index', text="Index")
|
#layout.prop(linked_action, 'hecl_index', text="Index")
|
||||||
#layout.prop(linked_action, 'hecl_anim_props', text="Props")
|
#layout.prop(linked_action, 'hecl_anim_props', text="Props")
|
||||||
layout.prop(linked_action, 'hecl_fps', text="Frame Rate")
|
layout.prop(linked_action, 'hecl_fps', text="Frame Rate")
|
||||||
layout.prop(context.scene, 'hecl_auto_remap', text="60-fps Remap")
|
row = layout.row()
|
||||||
|
row.prop(context.scene, 'hecl_auto_remap', text="60-fps Remap")
|
||||||
|
row.prop(linked_action, 'hecl_additive', text="Additive")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -252,6 +252,7 @@ def register():
|
||||||
bpy.utils.register_class(SACTData)
|
bpy.utils.register_class(SACTData)
|
||||||
bpy.types.Scene.hecl_sact_data = bpy.props.PointerProperty(type=SACTData)
|
bpy.types.Scene.hecl_sact_data = bpy.props.PointerProperty(type=SACTData)
|
||||||
bpy.types.Action.hecl_fps = bpy.props.IntProperty(name='HECL Action FPS', default=30)
|
bpy.types.Action.hecl_fps = bpy.props.IntProperty(name='HECL Action FPS', default=30)
|
||||||
|
bpy.types.Action.hecl_additive = bpy.props.BoolProperty(name='HECL Additive Action', default=False)
|
||||||
bpy.types.Scene.hecl_auto_remap = bpy.props.BoolProperty(name="Auto Remap",
|
bpy.types.Scene.hecl_auto_remap = bpy.props.BoolProperty(name="Auto Remap",
|
||||||
description="Enables automatic 60-fps time-remapping for playback-validation purposes",
|
description="Enables automatic 60-fps time-remapping for playback-validation purposes",
|
||||||
default=True, update=time_remap_update)
|
default=True, update=time_remap_update)
|
||||||
|
|
Loading…
Reference in New Issue