From 617ca33e9527fcdde8e04ece7f6284d356c7ada7 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Fri, 11 Sep 2015 21:13:14 -1000 Subject: [PATCH] Addon updates --- hecl/blender/hecl/__init__.py | 2 ++ hecl/blender/hecl/sact/__init__.py | 2 +- hecl/blender/hecl/srea/__init__.py | 7 +++++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/hecl/blender/hecl/__init__.py b/hecl/blender/hecl/__init__.py index 35e1fbf08..1026f280f 100644 --- a/hecl/blender/hecl/__init__.py +++ b/hecl/blender/hecl/__init__.py @@ -124,6 +124,7 @@ def register(): register_export_type_enum() hmdl.register() sact.register() + srea.register() bpy.utils.register_class(hecl_scene_panel) bpy.types.Scene.hecl_auto_select = bpy.props.BoolProperty(name='HECL Auto Select', default=True) bpy.app.handlers.load_post.append(scene_loaded) @@ -132,6 +133,7 @@ def unregister(): bpy.app.handlers.load_post.remove(scene_loaded) hmdl.unregister() sact.unregister() + srea.unregister() bpy.utils.unregister_class(hecl_scene_panel) if __name__ == "__main__": diff --git a/hecl/blender/hecl/sact/__init__.py b/hecl/blender/hecl/sact/__init__.py index 9203a528f..f55ffc8fd 100644 --- a/hecl/blender/hecl/sact/__init__.py +++ b/hecl/blender/hecl/sact/__init__.py @@ -251,7 +251,7 @@ def register(): SACTAction.register() bpy.utils.register_class(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", description="Enables automatic 60-fps time-remapping for playback-validation purposes", default=True, update=time_remap_update) diff --git a/hecl/blender/hecl/srea/__init__.py b/hecl/blender/hecl/srea/__init__.py index ee30fdf6c..a4f0d1f20 100644 --- a/hecl/blender/hecl/srea/__init__.py +++ b/hecl/blender/hecl/srea/__init__.py @@ -5,3 +5,10 @@ def cook(writebuffunc, platform, endianchar): # Panel draw def draw(layout, context): pass + +# Registration +def register(): + pass + +def unregister(): + pass