Repository navigation
feat(ui): create objects with custom subtypes from context menus - #36
Merged
Merged
Conversation
Add a shared "custom..." submenu (buildUI_customSubtype_menu) holding a text box for any subtype string. The LayerTree "new object" menu offers it for lights and a new volume submenu (which also lists the built-in volume subtypes); the parameter context menu offers it for new materials, geometries and samplers.
jeffamstutz
force-pushed
the
ui-custom-subtypes
branch
from
November 25, 2026 16:48
79bcee7 to
4bed257
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a shared `custom...` submenu (`vsr::ui::buildUI_customSubtype_menu`) with a text box that accepts any subtype string; Enter or create commits it and closes the context menu.
LayerTree (add → new object)
ObjectEditor parameter menu (set type → object → new)
Also fixes a mislabelled `// "material"` end-of-menu comment on the sampler submenu.
Builds cleanly (`vsr_ui_imgui`); not yet exercised interactively.
CI: `build` and `build-cuda` now `needs: format`, so a formatting failure stops the run before any build runners start.