Skip to content

Changed (hard-coded) mcgui 3D visualiser to be webgl-classic#2381

Merged
willend merged 7 commits intomccode-dev:mainfrom
willend:main
Mar 30, 2026
Merged

Changed (hard-coded) mcgui 3D visualiser to be webgl-classic#2381
willend merged 7 commits intomccode-dev:mainfrom
willend:main

Conversation

@willend
Copy link
Copy Markdown
Contributor

@willend willend commented Mar 30, 2026

Free-form text area

Please describe what your PR is adding in terms of features or bugfixes:

Some users find the Simulation->Display-3D shortcut from mcgui convenient. It is however unfortunately run in a 'blocking' mode, which means that especially on first (time-consuming due to node.js module installation) launch of mcdisplay-webgl there is a high probability (especially on Windows) that the user will interrupt mcgui / the install process, leading to a broken mcdisplay-webgl setup.

I have therefore changed the Simulation->Display-3D visualiser to launch the snappier (but simpler) mcdisplay-webgl-classic tool.

Fixes issue #2380


Development OS / boundary conditions

Manually tested on macOS, Ubuntu and Windows.


PR Checklist for contributing to McStas/McXtrace

For a coherent and useful contribution to McStas/McXtrace, please fill in relevant parts of the checklist:

  • My PR is meant to fix a specific, existing issue

    • I have indicated the issue number here: Display-3D error #2380
    • I have added documentation for the fix and possible side effects
  • My contribution contains something else

    • Explanation is added in free form text above or below the checklist

@willend
Copy link
Copy Markdown
Contributor Author

willend commented Mar 30, 2026

Screenshot 2026-03-30 at 13 22 19 Screenshot 2026-03-30 at 13 21 29 Screenshot 2026-03-30 at 13 20 34

@willend willend merged commit f3fb956 into mccode-dev:main Mar 30, 2026
16 checks passed
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