2025-12-01

This commit is contained in:
2026-03-17 14:58:51 -06:00
parent 183e865f8b
commit 4b82b57113
6846 changed files with 954887 additions and 162606 deletions
@@ -177,8 +177,6 @@ def img_to_preview(img: bpy.types.Image, copy_original: bool = False) -> None:
if img.preview.image_size != img.size:
img.preview.image_size = (img.size[0], img.size[1])
img.preview.image_pixels_float = img.pixels[:]
# for _idx in range(3, len(img.preview.image_pixels_float), 4):
# img.preview.image_pixels_float[_idx] = 0.0
def remove_alpha(img: bpy.types.Image, color_bg: List[float]) -> None:
@@ -221,7 +219,7 @@ def load_image(
exists.
"""
if hidden:
if hidden and not name.startswith("."):
name = f".{name}" # hidden
img = bpy.data.images.get(name)
if img is not None and not force: