Update meshmesh.py
This commit is contained in:
+2
-23
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user