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:
co-authored by
Claude Opus 4.8
parent
cebb29460d
commit
531dbb6e68
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user