Add comprehensive tests for edge depth extension, empty image edits, and material view adaptation

- Introduced `test_edge_depth.py` to validate the functionality of edge depth extension, ensuring core alpha preservation, proper depth handling, and edge padding behavior.
- Created `test_empty_image_edits.py` to verify the behavior of image edits in Blender, focusing on shared edits, preservation of image properties, and handling of failed operations.
- Developed `test_material_view_adaptation.py` to test material adaptation preferences, ensuring color space and alpha settings are correctly applied and preserved across various scenarios.
This commit is contained in:
2026-09-06 21:43:47 +08:00
parent 1994d38ccd
commit 7e55af6722
58 changed files with 3607 additions and 200 deletions

View File

@@ -5,7 +5,7 @@ description = "Fast image-guided structure building tools for Blender"
readme = "README.md"
requires-python = ">=3.11,<3.12"
license = "GPL-3.0-or-later"
dependencies = ["blendjob==0.1.16"]
dependencies = ["blendjob==0.1.16", "numpy>=1.26,<2.0", "scipy==1.15.3"]
[dependency-groups]
dev = [
@@ -16,7 +16,6 @@ dev = [
"mkdocs>=1.6.1,<2",
"mkdocs-click==0.9.0",
"mkdocs-material>=9.6.16,<10",
"numpy>=1.26,<2.0",
"onnx==1.19.0",
"onnxruntime==1.24.4",
"pillow==12.1.1",