perf(post-processing): don't rebuild the pipeline on hover + temp paint debug logs

- post-processing: hoverHighlightMode was a dependency of the pipeline-build
  effect, so every hover rebuilt the entire pipeline. The hover style is already
  pushed to uniforms in a separate effect, so the rebuild was pure waste —
  removed it from the deps (and the build log).
- selection-manager: temporary [paint-debug] logs for window/door hover to trace
  why their paint dispatch drops (to be removed once diagnosed).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Wassim SAMAD
2026-06-17 09:36:58 -04:00
co-authored by Claude Opus 4.8
parent cebb29460d
commit 531dbb6e68
2 changed files with 28 additions and 2 deletions
@@ -280,7 +280,6 @@ const PostProcessingPasses = ({
denoise: denoiseEnabled,
outline: outlineEnabled,
perfDisable,
hoverHighlightMode,
projectId,
shading,
rendererCtor: (renderer as any).constructor?.name,
@@ -487,9 +486,12 @@ const PostProcessingPasses = ({
renderPipelineRef.current = null
}
}, [
// NOTE: hoverHighlightMode intentionally excluded — the hover style is
// pushed to uniforms in a separate effect, so a hover must NOT rebuild the
// whole pipeline. The uniform refs below are stable (useMemo), so they
// never trigger a rebuild either.
camera,
hoverHiddenColor,
hoverHighlightMode,
hoverPulseMix,
hoverStrength,
hoverVisibleColor,