Skip to content

Commit fba9cf6

Browse files
author
Lawrence D'Oliveiro
committed
Revert previous change (culprit was my broken Blender build.)
1 parent f30771a commit fba9cf6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
{
33
"name" : "Spaceship Generator",
44
"author" : "Michael Davies, Lawrence D'Oliveiro",
5-
"version" : (1, 6, 3),
6-
"blender" : (2, 93, 0),
5+
"version" : (1, 6, 2),
6+
"blender" : (2, 82, 0),
77
"location" : "View3D > Add > Mesh",
88
"description" : "Procedurally generate 3D spaceships from a random seed.",
99
"wiki_url" : "https://github.com/a1studmuffin/SpaceshipGenerator/blob/master/README.md",

spaceship_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def load_image(filename, use_alpha, is_colour) :
3434
filepath = resource_path("textures", filename)
3535
image = bpy.data.images.load(filepath)
3636
image.alpha_mode = ("NONE", "STRAIGHT")[use_alpha]
37-
image.colorspace_settings.name = ("Linear", "sRGB")[is_colour]
37+
image.colorspace_settings.name = ("Non-Color", "sRGB")[is_colour]
3838
image.pack()
3939
# wipe all traces of original addon file path
4040
image.filepath = "//textures/%s" % filename

0 commit comments

Comments
 (0)