Skip to content

Implement ability to change model from the 3D Geometry Preview View (set Construction, ThermalZone, reverse Vertices)#863

Open
jmarrec wants to merge 15 commits intodevelopfrom
interactive_geometry
Open

Implement ability to change model from the 3D Geometry Preview View (set Construction, ThermalZone, reverse Vertices)#863
jmarrec wants to merge 15 commits intodevelopfrom
interactive_geometry

Conversation

@jmarrec
Copy link
Collaborator

@jmarrec jmarrec commented Mar 6, 2026

jmarrec added 12 commits March 6, 2026 10:50
…showStory to sessionStorage and restore it

  - C++: Before calling refreshClicked(), runs a JS snippet that persists settings.renderBy and settings.showStory to sessionStorage. The reload only happens in the async callback, guaranteeing the save  completes first.
  - JS (initDatGui): At the end, reads those keys back, updates settings directly, calls updateDisplay() to sync the dat.GUI dropdown UI, then calls the normal update(). Keys are immediately removed so   the next manual refresh starts clean.

  This preserves the render mode (and story filter) across any mutation-triggered refresh, without touching the camera state or other settings.
@eringold
Copy link
Contributor

eringold commented Mar 6, 2026

this is awesome. can you do a multi-select?

@jmarrec
Copy link
Collaborator Author

jmarrec commented Mar 6, 2026

Dude! let me be content for a day before asking for more 🙃

(I think that'd require a significant change)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement ability to change model from the 3D Geometry Preview View (set Construction, ThermalZone, reverse Vertices)

2 participants