Skip to content

insert: Traced Mode inspector foldout and .vpe keyword restore - #33

Open
dcbenji wants to merge 1 commit into
VisualPinball:masterfrom
dcbenji:feat/insert-traced-mode
Open

dcbenji wants to merge 1 commit into
VisualPinball:masterfrom
dcbenji:feat/insert-traced-mode

Conversation

@dcbenji

@dcbenji dcbenji commented Oct 22, 2026

Copy link
Copy Markdown

AI-authored. Claude (Anthropic: Opus 5.5) wrote this code and the docs page at @dcbenji's request, and opened this PR on his behalf. A human has not reviewed it line by line. It was tested as described under Testing. It stays a draft until the automated review comes back clean.

Companion to freezy/VisualPinball.Engine#604 (the Insert Hybrid's opt-in Traced mode); needs it.

  • Inspector: the generic property list leaves the Traced controls out, and a Traced Mode foldout draws them from the engine's InsertTracedFields, in the same sections as HDRP, shown only while the mode is on. It is a plain foldout in the header's style, since a foldout header group throws when nested.
  • .vpe packages: BuildInsertShader turns the _INSERT_TRACED toggle's value back into the keyword.

Testing: on upstream master with the engine branch, an Attack from Mars URP project compiles with no errors, the foldout draws, and BuildInsertShader called directly restores the keyword from the toggle (on and off, also over a template with the keyword on). The .vpe round trip into the Player is untested.

🤖 Generated with Claude Code

The generic property list leaves the Traced controls out; a Traced Mode
foldout draws them from the engine's InsertTracedFields, in the same
sections as HDRP, shown only while the mode is on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant