Update __init__.py

This commit is contained in:
OmiX
2025-10-23 15:35:22 +03:30
committed by GitHub
parent 116955c324
commit 8349c92cbc
-11
View File
@@ -11,14 +11,3 @@ NODE_DISPLAY_NAME_MAPPINGS = {}
# Add Resulation_Presets nodes
NODE_CLASS_MAPPINGS.update(RES_PRESETS_NODES)
NODE_DISPLAY_NAME_MAPPINGS.update(RES_PRESETS_DISPLAY)
# === How to add more Math nodes in the future ===
# 1. Create your new node file in this folder, e.g., MyNewMathNode.py
# 2. Import it like this:
# from .MyNewMathNode import NODE_CLASS_MAPPINGS as NEW_NODE, NODE_DISPLAY_NAME_MAPPINGS as NEW_DISPLAY
# 3. Update the dictionaries:
# NODE_CLASS_MAPPINGS.update(NEW_NODE)
# NODE_DISPLAY_NAME_MAPPINGS.update(NEW_DISPLAY)
# 4. Done! ComfyUI will now see your new Math node automatically.
# This structure keeps all Math nodes organized and easy to extend