Files
OrcaSlicer-KX/src/slic3r/GUI
Niccolo 7ae1eb7f49 Fix CLI segfault (SIGSEGV) when using --info, --slice, or --export-3mf (#12719)
In CLI mode, PartPlateList is constructed with a NULL plater pointer
(OrcaSlicer.cpp:3612). When set_shapes() calls PartPlate::set_shape(),
it unconditionally executes render data preparation code that
dereferences the null plater through calls like generate_print_polygon()
→ wxGetApp().plater(), causing a segmentation fault (exit code 139).

This adds a null check on m_plater in PartPlate::set_shape() to skip
the render-only code block that generates logo triangles, print/exclude
polygons, gridlines, icon vertices, and plate name textures.

These rendering operations are not needed in CLI mode and this change
has no impact on GUI mode where m_plater is always valid.
2026-03-12 19:36:45 +08:00
..
2026-02-02 18:12:19 +08:00
2026-03-09 20:52:12 +08:00
2026-03-04 12:50:33 +08:00
2025-10-28 15:29:50 +08:00
2025-10-28 15:29:50 +08:00
2026-02-23 23:31:23 -03:00
2025-10-05 16:02:17 +08:00
2025-10-05 16:02:17 +08:00
2026-01-23 17:05:56 +08:00
2026-01-03 23:06:57 +08:00
2025-10-09 23:13:09 +08:00
2025-10-02 09:30:48 +08:00
2025-07-06 11:34:47 +08:00
2026-03-05 17:49:00 -03:00
2026-02-04 11:40:02 +00:00
2023-12-01 10:42:45 +00:00
2026-01-26 19:34:14 +08:00
2023-08-30 23:38:33 +08:00
2026-01-03 23:06:57 +08:00
2026-03-10 00:55:09 +08:00
2026-03-04 12:50:33 +08:00
2025-08-22 20:02:26 +08:00
2025-06-02 16:48:58 +08:00
2023-12-01 10:42:45 +00:00
2025-11-10 08:55:30 +08:00
2025-09-21 13:47:51 +08:00
2025-10-02 09:30:48 +08:00
2025-10-02 09:30:48 +08:00
2026-01-23 17:05:56 +08:00
2026-01-23 17:05:56 +08:00
2024-05-20 23:18:05 +08:00
2025-10-02 09:30:48 +08:00
2026-01-23 17:05:56 +08:00
2025-10-28 15:29:56 +08:00
2025-10-28 15:29:56 +08:00
2026-01-03 23:06:57 +08:00
2026-01-03 23:06:57 +08:00
2025-09-21 23:01:08 +08:00
2026-01-23 17:05:56 +08:00
2023-12-23 17:44:09 +08:00
2026-03-09 20:52:12 +08:00
2025-10-28 15:29:53 +08:00
2026-01-23 17:05:56 +08:00
2026-02-12 08:42:01 +08:00
2026-03-09 20:36:36 +08:00
2026-03-09 20:36:36 +08:00
2026-01-03 23:06:57 +08:00
2026-01-03 23:06:57 +08:00
2024-07-23 18:00:21 +08:00
2026-01-03 23:06:57 +08:00
2026-01-03 23:06:57 +08:00
2026-01-03 23:06:57 +08:00
2026-01-23 17:05:56 +08:00
2026-01-23 17:05:56 +08:00
2026-01-03 23:06:57 +08:00
2025-08-22 20:02:26 +08:00
2026-03-09 20:36:36 +08:00
2026-01-31 01:04:27 +08:00
2026-02-04 11:40:02 +00:00
2026-02-04 11:40:02 +00:00
2026-01-23 17:05:56 +08:00
2026-01-23 17:05:56 +08:00
2025-10-28 15:30:06 +08:00
2025-11-19 13:51:52 +03:00
2025-10-02 09:30:48 +08:00
2025-10-28 15:29:56 +08:00
2026-01-28 19:04:56 +08:00
2026-01-23 17:05:56 +08:00
2024-05-25 09:11:19 +08:00
2026-03-09 20:52:12 +08:00