martijnberger / pyslapi

Python bindings for the official Sketchup API
237 stars 134 forks source link

Space character missing from the Import and Export menu text #12

Open duianto opened 8 years ago

duianto commented 8 years ago

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)")