mirror of
https://github.com/SamueleLorefice/ComfySharp
synced 2026-01-15 03:35:48 +00:00
Added Output Type Scanning
This commit is contained in:
@@ -186,7 +186,10 @@ public class NodeDBGenerator {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ScanOutputs(JsonProperty output) { }
|
private void ScanOutputs(JsonProperty output) {
|
||||||
|
Logger.Debug($"Scanning outputs of node: {output.Name}");
|
||||||
|
foreach (var outputType in output.Value.EnumerateArray()) AddKnownType(outputType.GetString()!);
|
||||||
|
}
|
||||||
|
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
public void GenerateNode(JsonElement data) {
|
public void GenerateNode(JsonElement data) {
|
||||||
|
|||||||
Reference in New Issue
Block a user