- Implemented the "O Image Relief Plane" Geometry Nodes group to create a fixed-base image relief using depth images and various parameters. - Created the "O Shadeless" shader node group to display color without scene lighting while preserving shadows and reflections. - Introduced a preview feature for node groups, allowing for interactive visualization of node arrangements in an HTML format. - Added a template HTML file for rendering node previews with customizable views and controls.
27 lines
679 B
Python
27 lines
679 B
Python
import tomllib
|
|
import unittest
|
|
from pathlib import Path
|
|
|
|
|
|
PROJECT_ROOT = Path(__file__).resolve().parents[1]
|
|
|
|
|
|
class ToolCommandsTests(unittest.TestCase):
|
|
def test_repository_tools_have_uv_commands(self):
|
|
project = tomllib.loads(
|
|
(PROJECT_ROOT / "pyproject.toml").read_text(encoding="utf-8")
|
|
)["project"]
|
|
self.assertEqual(
|
|
project["scripts"],
|
|
{
|
|
"pack": "tools.pack:main",
|
|
"build_node": "tools.nodes.cli:main",
|
|
"sync_models": "tools.models.cli:main",
|
|
"docs": "tools.docs:main",
|
|
},
|
|
)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
unittest.main()
|