chore: Bump version to 0.12.13 and update documentation for color space handling
This commit is contained in:
@@ -14,6 +14,7 @@ sys.path.insert(
|
||||
)
|
||||
|
||||
from snapform.blender.depth_plane import MOGE_SURFACE_MATERIAL_NODE_GROUP_NAME
|
||||
from snapform.blender.depth_plane import material_color_space_name
|
||||
from snapform.blender.surface import (
|
||||
MOGE_NODE_GROUP_NAME,
|
||||
build_image_mesh,
|
||||
@@ -198,7 +199,9 @@ def main():
|
||||
if node.bl_idname == "ShaderNodeTexImage" and node.image == foreground
|
||||
)
|
||||
assert color_texture.image.name == "MoGe Surface Test.color"
|
||||
assert color_texture.image.colorspace_settings.name == "AgX Base sRGB"
|
||||
assert color_texture.image.colorspace_settings.name == material_color_space_name(
|
||||
bpy.context.scene
|
||||
)
|
||||
normal_texture = next(
|
||||
node for node in surface.data.materials[0].node_tree.nodes
|
||||
if node.bl_idname == "ShaderNodeTexImage"
|
||||
|
||||
Reference in New Issue
Block a user