New Addon: Import Autodesk .max #105013
@ -5,7 +5,7 @@
|
||||
bl_info = {
|
||||
"name": "Sapling Tree Gen",
|
||||
"author": "Andrew Hale (TrumanBlending), Aaron Buchler, CansecoGPC",
|
||||
"version": (0, 3, 4),
|
||||
"version": (0, 3, 5),
|
||||
"blender": (2, 80, 0),
|
||||
"location": "View3D > Add > Curve",
|
||||
"description": ("Adds a parametric tree. The method is presented by "
|
||||
@ -186,7 +186,7 @@ class ImportData(Operator):
|
||||
f = open(os.path.join(getPresetpaths()[1], self.filename), 'r')
|
||||
# Find the first non-comment, non-blank line, this must contain preset text (all on one line).
|
||||
for settings in f:
|
||||
if settings and (not settings.startswith("#")):
|
||||
if settings and (not settings.isspace()) and (not settings.startswith("#")):
|
||||
break
|
||||
f.close()
|
||||
# print(settings)
|
||||
|
Loading…
Reference in New Issue
Block a user