rework output type socket to be more flexible

This commit is contained in:
2026-03-28 14:10:17 -07:00
parent 1b831cda5d
commit 3b838deb4d
55 changed files with 213 additions and 117 deletions

View File

@@ -21,8 +21,12 @@ class FFT2D:
}
}
RETURN_TYPES = ("DATA_FIELD", "DATA_FIELD", "DATA_FIELD", "DATA_FIELD")
RETURN_NAMES = ("log_magnitude", "magnitude", "phase", "psdf")
OUTPUTS = (
('DATA_FIELD', 'log_magnitude'),
('DATA_FIELD', 'magnitude'),
('DATA_FIELD', 'phase'),
('DATA_FIELD', 'psdf'),
)
FUNCTION = "process"
DESCRIPTION = (