2.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r19323:HEAD
Notes: * blenderbuttons and ICON_SNAP_PEEL_OBJECT were not merged.
This commit is contained in:
@@ -537,6 +537,7 @@ def get_float_func(filepath):
|
||||
'''
|
||||
file= open(filepath, 'rU')
|
||||
for line in file: #.xreadlines():
|
||||
line = line.lstrip()
|
||||
if line.startswith('v'): # vn vt v
|
||||
if ',' in line:
|
||||
return lambda f: float(f.replace(',', '.'))
|
||||
@@ -590,6 +591,7 @@ def load_obj(filepath, CLAMP_SIZE= 0.0, CREATE_FGONS= True, CREATE_SMOOTH_GROUPS
|
||||
time_sub= sys.time()
|
||||
file= open(filepath, 'rU')
|
||||
for line in file: #.xreadlines():
|
||||
line = line.lstrip() # rare cases there is white space at the start of the line
|
||||
|
||||
if line.startswith('v '):
|
||||
line_split= line.split()
|
||||
|
||||
Reference in New Issue
Block a user