Skip to content

Fix 3MF project-load crash from unavailable plate picker - #671

Open
Ohmicaudio wants to merge 1 commit into
Snapmaker:mainfrom
Ohmicaudio:fix/null-plate-picker-project-load
Open

Fix 3MF project-load crash from unavailable plate picker#671
Ohmicaudio wants to merge 1 commit into
Snapmaker:mainfrom
Ohmicaudio:fix/null-plate-picker-project-load

Conversation

@Ohmicaudio

Copy link
Copy Markdown

Summary\n\nFixes a crash while loading certain 3MF projects.\n\nDuring project reload, a plate picker can be registered before its mesh raycaster has been built. Later mouse picking dereferences that unavailable picker. This adds the same early-return guard used by current upstream OrcaSlicer so unavailable picker meshes are skipped until initialized.\n\n## Validation\n\n- Built Snapmaker_Orca locally in Release with /m:1.\n- Opened drago.3mf and ed+dragon+head+3d+model.3mf with the rebuilt runtime; both remained alive and responsive after load.\n- Change is limited to src/slic3r/GUI/PartPlate.cpp.\n\nNo AMP or surface-color-assist changes are included.

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.

2 participants