1
0
mirror of https://github.com/DarklightGames/io_scene_psk_psa.git synced 2024-11-23 22:40:59 +01:00

Added PSA file handler

This commit is contained in:
Colin Basnett 2024-03-14 19:06:03 -07:00
parent c65fdaa6a4
commit a93450eab9

View File

@ -254,7 +254,14 @@ class PSA_OT_import(Operator, ImportHelper):
class PSA_FH_import(FileHandler):
pass
bl_idname = 'PSA_FH_import'
bl_label = 'File handler for Unreal PSA import'
bl_import_operator = 'psa_import.import'
bl_file_extensions = '.psa'
@classmethod
def poll_drop(cls, context: Context):
return context.area and context.area.type == 'VIEW_3D'
classes = (
@ -262,4 +269,5 @@ classes = (
PSA_OT_import_sequences_deselect_all,
PSA_OT_import_sequences_from_text,
PSA_OT_import,
PSA_FH_import,
)