Cleanup: Make format
This commit is contained in:
parent
f62f8852dc
commit
e6808cd558
@ -78,6 +78,7 @@ class ShaderScriptImport(bpy.types.Operator, ImportHelper):
|
||||
|
||||
If filepath information is not provided the file select window will be invoked instead.
|
||||
"""
|
||||
|
||||
def invoke(self, context, event):
|
||||
return self.invoke_popup(context)
|
||||
|
||||
|
@ -116,7 +116,8 @@ class ImportHelper:
|
||||
confirm_text = self.bl_label
|
||||
|
||||
confirm_text = iface_(confirm_text)
|
||||
return context.window_manager.invoke_props_dialog(self, confirm_text=confirm_text, title=title, translate=False)
|
||||
return context.window_manager.invoke_props_dialog(
|
||||
self, confirm_text=confirm_text, title=title, translate=False)
|
||||
|
||||
context.window_manager.fileselect_add(self)
|
||||
return {'RUNNING_MODAL'}
|
||||
|
Loading…
x
Reference in New Issue
Block a user