Fixed name of import functions (functions named import is not possible due to Python syntax)
This commit is contained in:
@@ -267,7 +267,7 @@ class PSA_OT_import_all(Operator, PsaImportMixin):
|
|||||||
|
|
||||||
|
|
||||||
class PSA_OT_import(Operator, ImportHelper, PsaImportMixin):
|
class PSA_OT_import(Operator, ImportHelper, PsaImportMixin):
|
||||||
bl_idname = 'psa.import'
|
bl_idname = 'psa.import_file'
|
||||||
bl_label = 'Import'
|
bl_label = 'Import'
|
||||||
bl_description = 'Import the selected animations into the scene as actions'
|
bl_description = 'Import the selected animations into the scene as actions'
|
||||||
bl_options = {'INTERNAL', 'UNDO'}
|
bl_options = {'INTERNAL', 'UNDO'}
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ def psk_import_draw(layout: UILayout, props: PskImportMixin):
|
|||||||
|
|
||||||
|
|
||||||
class PSK_OT_import(Operator, ImportHelper, PskImportMixin):
|
class PSK_OT_import(Operator, ImportHelper, PskImportMixin):
|
||||||
bl_idname = 'psk.import'
|
bl_idname = 'psk.import_file'
|
||||||
bl_label = 'Import'
|
bl_label = 'Import'
|
||||||
bl_options = {'INTERNAL', 'UNDO', 'PRESET'}
|
bl_options = {'INTERNAL', 'UNDO', 'PRESET'}
|
||||||
bl_description = 'Import a PSK file'
|
bl_description = 'Import a PSK file'
|
||||||
|
|||||||
Reference in New Issue
Block a user