chore: Bump version to 0.12.14 and update documentation for color space handling

This commit is contained in:
2026-08-19 15:29:36 +08:00
parent 753f87da03
commit 70072b852a
10 changed files with 12 additions and 14 deletions

View File

@@ -83,7 +83,7 @@ def material_color_space_name(scene):
for view_name, color_space in VIEW_TRANSFORM_COLOR_SPACES:
if normalized.startswith(view_name.casefold()):
return color_space
return "AgX Base sRGB"
return "sRGB"
def set_material_color_space(image, scene=None):
@@ -92,9 +92,7 @@ def set_material_color_space(image, scene=None):
settings = image.colorspace_settings
preferred = material_color_space_name(scene)
original = settings.name
for color_space in dict.fromkeys(
(preferred, "AgX Base sRGB", "sRGB", original)
):
for color_space in dict.fromkeys((preferred, "sRGB", original)):
if not color_space:
continue
try:

View File

@@ -1,7 +1,7 @@
schema_version = "1.0.0"
id = "snapform"
version = "0.12.13"
version = "0.12.14"
name = "SnapForm"
tagline = "Build spatial structures from images, fast"
maintainer = "OmooLab"