- 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
283 B
Python
12 lines
283 B
Python
import bpy
|
|
import pytest
|
|
from nodes.groups.image_layer import build_image_layer_group
|
|
|
|
|
|
@pytest.fixture
|
|
def image_layer():
|
|
bpy.ops.wm.read_factory_settings(use_empty=True)
|
|
group = build_image_layer_group()
|
|
yield group
|
|
bpy.ops.wm.read_factory_settings(use_empty=True)
|