Update meshmesh.py

This commit is contained in:
bitcoinski
2024-03-08 12:02:57 -05:00
parent c573ad511d
commit 41e64d9044
+2 -23
View File
@@ -58,33 +58,12 @@ class MasksToColoredMasks:
return (image,)
class ColorPicker:
@classmethod
def INPUT_TYPES(s):
return {
"required": {
"background": ("COLOR", {"default": "#ffffff"}),
}
}
CATEGORY = "mask"
RETURN_TYPES = ("COLOR",)
FUNCTION = "run"
def run(self, background):
return (background,)
NODE_CLASS_MAPPINGS = {
"MasksToColoredMasks": MasksToColoredMasks,
"ColorPicker": ColorPicker
"MasksToColoredMasks": MasksToColoredMasks
}
# A dictionary that contains the friendly/humanly readable titles for the nodes
NODE_DISPLAY_NAME_MAPPINGS = {
"MasksToColoredMasks": "Masks to Colored Masks",
"ColorPicker": "Color Picker"
"MasksToColoredMasks": "Masks to Colored Masks"
}