diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-08-09 05:42:53 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-08-09 05:42:53 +0400 |
commit | 2384910b60c161971ba37d7a14874580def12ea0 (patch) | |
tree | 33b8174bd04426c6a5b2bed7c2eed12aeb74924c /io_export_unreal_psk_psa.py | |
parent | 6367ee9946c8bc0ee9e91fc97d8303ce38991fc4 (diff) |
update for changes in blender.
Diffstat (limited to 'io_export_unreal_psk_psa.py')
-rw-r--r-- | io_export_unreal_psk_psa.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/io_export_unreal_psk_psa.py b/io_export_unreal_psk_psa.py index 8c208c5a..021fff0c 100644 --- a/io_export_unreal_psk_psa.py +++ b/io_export_unreal_psk_psa.py @@ -1476,8 +1476,8 @@ class ExportUDKAnimData(bpy.types.Operator): psaexportbool = BoolProperty(name="Export PSA", description="Export Action Set (Animation Data)", default= True) actionexportall = BoolProperty(name="All Actions", description="This will export all the actions that matches the current armature.", default=False) - @staticmethod - def poll(context): + @classmethod + def poll(cls, context): return context.active_object != None def execute(self, context): @@ -1508,8 +1508,8 @@ class VIEW3D_PT_unrealtools_objectmode(bpy.types.Panel): bl_region_type = "TOOLS" bl_label = "Unreal Tools" - @staticmethod - def poll(context): + @classmethod + def poll(cls, context): return context.active_object def draw(self, context): |