io_scene_3ds: Moved specular color texture to specular tint #104918
@ -5,7 +5,7 @@
|
|||||||
bl_info = {
|
bl_info = {
|
||||||
"name": "Sapling Tree Gen",
|
"name": "Sapling Tree Gen",
|
||||||
"author": "Andrew Hale (TrumanBlending), Aaron Buchler, CansecoGPC",
|
"author": "Andrew Hale (TrumanBlending), Aaron Buchler, CansecoGPC",
|
||||||
"version": (0, 3, 4),
|
"version": (0, 3, 5),
|
||||||
"blender": (2, 80, 0),
|
"blender": (2, 80, 0),
|
||||||
"location": "View3D > Add > Curve",
|
"location": "View3D > Add > Curve",
|
||||||
"description": ("Adds a parametric tree. The method is presented by "
|
"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')
|
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).
|
# Find the first non-comment, non-blank line, this must contain preset text (all on one line).
|
||||||
for settings in f:
|
for settings in f:
|
||||||
if settings and (not settings.startswith("#")):
|
if settings and (not settings.isspace()) and (not settings.startswith("#")):
|
||||||
break
|
break
|
||||||
f.close()
|
f.close()
|
||||||
# print(settings)
|
# print(settings)
|
||||||
|
Loading…
Reference in New Issue
Block a user