io_scene_3ds: Moved specular color texture to specular tint #104918

Merged
Sebastian Sille merged 89 commits from :main into main 2023-09-27 00:42:09 +02:00
Showing only changes of commit 92df373966 - Show all commits

View File

@ -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)