mirror of https://github.com/AxioDL/metaforce.git
Addon updates
This commit is contained in:
parent
6b2e025f65
commit
617ca33e95
|
@ -124,6 +124,7 @@ def register():
|
||||||
register_export_type_enum()
|
register_export_type_enum()
|
||||||
hmdl.register()
|
hmdl.register()
|
||||||
sact.register()
|
sact.register()
|
||||||
|
srea.register()
|
||||||
bpy.utils.register_class(hecl_scene_panel)
|
bpy.utils.register_class(hecl_scene_panel)
|
||||||
bpy.types.Scene.hecl_auto_select = bpy.props.BoolProperty(name='HECL Auto Select', default=True)
|
bpy.types.Scene.hecl_auto_select = bpy.props.BoolProperty(name='HECL Auto Select', default=True)
|
||||||
bpy.app.handlers.load_post.append(scene_loaded)
|
bpy.app.handlers.load_post.append(scene_loaded)
|
||||||
|
@ -132,6 +133,7 @@ def unregister():
|
||||||
bpy.app.handlers.load_post.remove(scene_loaded)
|
bpy.app.handlers.load_post.remove(scene_loaded)
|
||||||
hmdl.unregister()
|
hmdl.unregister()
|
||||||
sact.unregister()
|
sact.unregister()
|
||||||
|
srea.unregister()
|
||||||
bpy.utils.unregister_class(hecl_scene_panel)
|
bpy.utils.unregister_class(hecl_scene_panel)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
|
@ -251,7 +251,7 @@ def register():
|
||||||
SACTAction.register()
|
SACTAction.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 Acion FPS', default=30)
|
bpy.types.Action.hecl_fps = bpy.props.IntProperty(name='HECL Action FPS', default=30)
|
||||||
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)
|
||||||
|
|
|
@ -5,3 +5,10 @@ def cook(writebuffunc, platform, endianchar):
|
||||||
# Panel draw
|
# Panel draw
|
||||||
def draw(layout, context):
|
def draw(layout, context):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
# Registration
|
||||||
|
def register():
|
||||||
|
pass
|
||||||
|
|
||||||
|
def unregister():
|
||||||
|
pass
|
||||||
|
|
Loading…
Reference in New Issue