- Add pose_keypoint input node for JSON to POSE_KEYPOINT conversion - Add pose_keypoint preview node with read-only text display - Implement JavaScript frontend for text widget display - Support toe keypoints (19-24) in normalized coordinate format - Update module structure to support web assets 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
14 lines
729 B
Python
14 lines
729 B
Python
# Import nodes from modules
|
|
from .unianimate.nodes import NODE_CLASS_MAPPINGS as UNIANIMATE_NODE_CLASS_MAPPINGS
|
|
from .unianimate.nodes import NODE_DISPLAY_NAME_MAPPINGS as UNIANIMATE_NODE_DISPLAY_NAME_MAPPINGS
|
|
from .nodes import NODE_CLASS_MAPPINGS as UTILITY_NODE_CLASS_MAPPINGS
|
|
from .nodes import NODE_DISPLAY_NAME_MAPPINGS as UTILITY_NODE_DISPLAY_NAME_MAPPINGS
|
|
|
|
# Combine node mappings
|
|
NODE_CLASS_MAPPINGS = {**UNIANIMATE_NODE_CLASS_MAPPINGS, **UTILITY_NODE_CLASS_MAPPINGS}
|
|
NODE_DISPLAY_NAME_MAPPINGS = {**UNIANIMATE_NODE_DISPLAY_NAME_MAPPINGS, **UTILITY_NODE_DISPLAY_NAME_MAPPINGS}
|
|
|
|
# Web directory for JavaScript files
|
|
WEB_DIRECTORY = "./web"
|
|
|
|
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"] |