Files
AEmotionStudio-ComfyUI-Shad…/shaders
Æmotion StudioandClaude Opus 5 ff49a204a7 fix(shaders): tensor_field crashed for almost every configuration
compute_tensor_properties returns [B, H, W, 1] tensors, but the
eigenvalue-difference branch (viz_type == 1) unsqueezed again, so the
following permute(0, 3, 1, 2) got a 5D tensor and raised RuntimeError.

viz_type is (int(octaves) + channel_index) % 4, so almost any setting hit
the branch on some channel: 46 of 48 parameter combinations failed,
including the node's own defaults (octaves=1). Dropping the unsqueeze
leaves the existing 3D normalisation below to handle both shapes.

Only previously-crashing configurations change; the legacy golden
snapshots are unaffected.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-11 15:03:28 -07:00
..