Open duianto opened 8 years ago
Blenders other Import and Export menu choices, all have a space character between the last word and the open parenthesis of the file extension.
Adding a space character in these two places would fix this:
https://github.com/martijnberger/pyslapi/blob/master/sketchup_importer/__init__.py#L749
before: self.layout.operator(ImportSKP.bl_idname, text="Import Sketchup Scene(.skp)")
self.layout.operator(ImportSKP.bl_idname, text="Import Sketchup Scene(.skp)")
after: self.layout.operator(ImportSKP.bl_idname, text="Import Sketchup Scene (.skp)")
self.layout.operator(ImportSKP.bl_idname, text="Import Sketchup Scene (.skp)")
https://github.com/martijnberger/pyslapi/blob/master/sketchup_importer/__init__.py#L752
before: self.layout.operator(ExportSKP.bl_idname, text="Export Sketchup Scene(.skp)")
self.layout.operator(ExportSKP.bl_idname, text="Export Sketchup Scene(.skp)")
after: self.layout.operator(ExportSKP.bl_idname, text="Export Sketchup Scene (.skp)")
self.layout.operator(ExportSKP.bl_idname, text="Export Sketchup Scene (.skp)")
Summary
Blenders other Import and Export menu choices, all have a space character between the last word and the open parenthesis of the file extension.
Solution
Adding a space character in these two places would fix this:
https://github.com/martijnberger/pyslapi/blob/master/sketchup_importer/__init__.py#L749
before:
self.layout.operator(ImportSKP.bl_idname, text="Import Sketchup Scene(.skp)")
after:
self.layout.operator(ImportSKP.bl_idname, text="Import Sketchup Scene (.skp)")
https://github.com/martijnberger/pyslapi/blob/master/sketchup_importer/__init__.py#L752
before:
self.layout.operator(ExportSKP.bl_idname, text="Export Sketchup Scene(.skp)")
after:
self.layout.operator(ExportSKP.bl_idname, text="Export Sketchup Scene (.skp)")