- Introduced new test files for image layer, image plane, normal scale, object normal rotation, shadeless, and temporary attributes. - Implemented tests to validate the behavior of alpha curves, depth layers, and normal scales in various rendering engines. - Refactored import paths for node groups to align with the new directory structure. - Added checks for temporary attribute lifetimes and ensured proper cleanup without warnings. - Enhanced CLI commands to require the Blender group and validate the presence of generated node assets before packaging. - Updated packaging scripts to enforce the existence of necessary assets, preventing build failures.
12 lines
487 B
Python
12 lines
487 B
Python
"""Shared assertions and asset selection for node tests."""
|
|
from nodes.groups.image_cutout import build_image_cutout_group
|
|
from nodes.groups.image_depth_cutout import build_image_depth_cutout_group
|
|
from nodes.groups.image_cutout_symmetry import build_image_cutout_symmetry_group
|
|
|
|
CUTOUT_BUILDERS = {
|
|
"FLAT": build_image_cutout_group,
|
|
"SOLID": build_image_cutout_group,
|
|
"DEPTH_SOLID": build_image_depth_cutout_group,
|
|
"DEPTH_SYMMETRY": build_image_cutout_symmetry_group,
|
|
}
|