Skip to content

Commit 34dfeb3

Browse files
committed
puts nodes in sub menus
unfortunately breaks previous, but I should have done this from start
1 parent 33a525b commit 34dfeb3

21 files changed

+40
-40
lines changed

post_processing/arithmetic_blend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def INPUT_TYPES(s):
1717
RETURN_TYPES = ("IMAGE",)
1818
FUNCTION = "arithmetic_blend_images"
1919

20-
CATEGORY = "postprocessing"
20+
CATEGORY = "postprocessing/Blends"
2121

2222
def arithmetic_blend_images(self, image1: torch.Tensor, image2: torch.Tensor, blend_mode: str):
2323
if blend_mode == "add":

post_processing/blend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def INPUT_TYPES(s):
2424
RETURN_TYPES = ("IMAGE",)
2525
FUNCTION = "blend_images"
2626

27-
CATEGORY = "postprocessing"
27+
CATEGORY = "postprocessing/Blends"
2828

2929
def blend_images(self, image1: torch.Tensor, image2: torch.Tensor, blend_factor: float, blend_mode: str):
3030
if image1.shape != image2.shape:

post_processing/blur.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def INPUT_TYPES(s):
2828
RETURN_TYPES = ("IMAGE",)
2929
FUNCTION = "blur"
3030

31-
CATEGORY = "postprocessing"
31+
CATEGORY = "postprocessing/Filters"
3232

3333
def blur(self, image: torch.Tensor, blur_radius: int, sigma: float):
3434
if blur_radius == 0:

post_processing/canny_edge_detect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def INPUT_TYPES(s):
3030
RETURN_TYPES = ("IMAGE",)
3131
FUNCTION = "canny"
3232

33-
CATEGORY = "postprocessing"
33+
CATEGORY = "postprocessing/Masks"
3434

3535
def canny(self, image: torch.Tensor, lower_threshold: int, upper_threshold: int):
3636
batch_size, height, width, _ = image.shape

post_processing/chromatic_abberation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def INPUT_TYPES(s):
3636
RETURN_TYPES = ("IMAGE",)
3737
FUNCTION = "chromatic_aberration"
3838

39-
CATEGORY = "postprocessing"
39+
CATEGORY = "postprocessing/Effects"
4040

4141
def chromatic_aberration(self, image: torch.Tensor, red_shift: int, green_shift: int, blue_shift: int, red_direction: str, green_direction: str, blue_direction: str):
4242
def get_shift(direction, shift):

post_processing/color_correct.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def INPUT_TYPES(s):
5555
RETURN_TYPES = ("IMAGE",)
5656
FUNCTION = "color_correct"
5757

58-
CATEGORY = "postprocessing"
58+
CATEGORY = "postprocessing/Color Adjustments"
5959

6060
def color_correct(self, image: torch.Tensor, temperature: float, hue: float, brightness: float, contrast: float, saturation: float, gamma: float):
6161
batch_size, height, width, _ = image.shape

post_processing/dissolve.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def INPUT_TYPES(s):
2222
RETURN_TYPES = ("IMAGE",)
2323
FUNCTION = "dissolve_images"
2424

25-
CATEGORY = "postprocessing"
25+
CATEGORY = "postprocessing/Blends"
2626

2727
def dissolve_images(self, image1: torch.Tensor, image2: torch.Tensor, dissolve_factor: float):
2828
dither_pattern = torch.rand_like(image1)

post_processing/dodge_and_burn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def INPUT_TYPES(s):
2323
RETURN_TYPES = ("IMAGE",)
2424
FUNCTION = "dodge_and_burn"
2525

26-
CATEGORY = "postprocessing"
26+
CATEGORY = "postprocessing/Blends"
2727

2828
def dodge_and_burn(self, image: torch.Tensor, mask: torch.Tensor, intensity: float, mode: str):
2929
if mode in ["dodge", "color_dodge", "linear_dodge"]:

post_processing/film_grain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def INPUT_TYPES(s):
4040
RETURN_TYPES = ("IMAGE",)
4141
FUNCTION = "film_grain"
4242

43-
CATEGORY = "postprocessing"
43+
CATEGORY = "postprocessing/Effects"
4444

4545
def film_grain(self, image: torch.Tensor, intensity: float, scale: float, temperature: float, vignette: float):
4646
batch_size, height, width, _ = image.shape

post_processing/glow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def INPUT_TYPES(cls):
2828
RETURN_TYPES = ("IMAGE",)
2929
FUNCTION = "apply_glow"
3030

31-
CATEGORY = "postprocessing"
31+
CATEGORY = "postprocessing/Effects"
3232

3333
def apply_glow(self, image: torch.Tensor, intensity: float, blur_radius: int):
3434
blurred_image = self.gaussian_blur(image, 2 * blur_radius + 1)

0 commit comments

Comments
 (0)