io_scene_3ds: Added spotlight aspect and projector #104813

Merged
Sebastian Sille merged 69 commits from :main into main 2023-08-03 00:41:35 +02:00
Showing only changes of commit 92df373966 - Show all commits

View File

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