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,5 +1,5 @@
|
||||
#!BPY
|
||||
|
||||
# coding: utf-8
|
||||
"""
|
||||
Name: '3D Studio (.3ds)...'
|
||||
Blender: 243
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!BPY
|
||||
|
||||
# coding: utf-8
|
||||
""" Registration info for Blender menus
|
||||
Name: 'Bevel Center'
|
||||
Blender: 243
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!BPY
|
||||
|
||||
# coding: utf-8
|
||||
"""
|
||||
Name: 'BlenderLipSynchro'
|
||||
Blender: 242
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!BPY
|
||||
# coding: utf-8
|
||||
""" Registration info for Blender menus:
|
||||
Name: 'M3G (.m3g, .java)...'
|
||||
Blender: 244
|
||||
@@ -3070,3 +3071,4 @@ def file_callback_m3g(filename):
|
||||
|
||||
if __name__ == '__main__':
|
||||
gui()
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!BPY
|
||||
|
||||
# coding: utf-8
|
||||
""" Registration info for Blender menus:
|
||||
Name: 'HotKey and MouseAction Reference'
|
||||
Blender: 242
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!BPY
|
||||
|
||||
# coding: utf-8
|
||||
"""
|
||||
Name: 'Autodesk DXF (.dxf)'
|
||||
Blender: 244
|
||||
@@ -5943,3 +5943,4 @@ if 1:
|
||||
|
||||
print 'TOTAL TIME: %.6f' % (Blender.sys.time() - TIME)
|
||||
"""
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!BPY
|
||||
|
||||
# coding: utf-8
|
||||
"""
|
||||
Name: 'Paths (.svg, .ps, .eps, .ai, Gimp)'
|
||||
Blender: 233
|
||||
@@ -93,3 +93,4 @@ elif argv=='Gimp_2_0':
|
||||
|
||||
text = 'Import %s' % argv
|
||||
Blender.Window.FileSelector (fonctionSELECT, text)
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!BPY
|
||||
|
||||
# coding: utf-8
|
||||
""" Registration info for Blender menus: <- these words are ignored
|
||||
Name: 'Deformed mesh to Rvk'
|
||||
Blender: 243
|
||||
|
||||
Reference in New Issue
Block a user