added encoding "# coding: utf-8" to the headers of scripts that python would not run with execfile('....'), python would also riase the error, though there is no practicle use
for running these scripts outside blender. The error looked like this. SyntaxError: Non-ASCII character '\xe4' in file ./3ds_export.py on line 10, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#!BPY
|
||||
# coding: utf-8
|
||||
""" Registration info for Blender menus:
|
||||
Name: 'M3G (.m3g, .java)...'
|
||||
Blender: 244
|
||||
@@ -3069,4 +3070,5 @@ def file_callback_m3g(filename):
|
||||
Window.RedrawAll()
|
||||
|
||||
if __name__ == '__main__':
|
||||
gui()
|
||||
gui()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user