Commit Graph
20276 Commits
Author SHA1 Message Date
HanifKoh 74836f00e4 List and Load Resource Textures Whose Paths Pass MAX_PATH on Windows (#17730)
* Test Resource Textures Whose Paths Pass MAX_PATH

* List and Load Resource Textures Whose Paths Pass MAX_PATH on Windows

(cherry picked from commit 0d7bea5763)
2026-11-21 15:42:06 +08:00
HanifKoh 374100f494 Read the CFS Lite Slots a SPARKX i7 Sends After Reporting No CFS (#17702)
A SPARKX i7 with a CFS Lite reports "cfsConnect": 0 and then answers the slot query. The query stopped at that status, so filament sync found no slots. It now keeps reading for a short no-CFS deadline and treats the printer as having no CFS only when no slots arrive.

(cherry picked from commit 1e1543f006)
2026-11-21 15:42:06 +08:00
HanifKoh 4d4dad4184 Trim Trailing Zeros at the Decimal Separator wxWidgets Wrote (#17704)
* Trim Trailing Zeros at the Decimal Separator wxWidgets Wrote

double_to_string formats with wxNumberFormatter, which writes the UI locale's decimal separator, but trimmed after the C locale's separator. When the two differ, as reported on macOS in Czech and Russian, nothing was trimmed and fields showed 0.2000. Trim at wxNumberFormatter::GetDecimalSeparator() instead.

* Parse Point Fields Whichever Decimal Separator They Show

Point fields write X and Y with the UI locale's decimal separator but read them back with ToDouble, which uses the C locale's. When the two differ, any value with decimals fails with Invalid numeric and resets. Read them with string_to_double_any_separator, which converts the other separator to the C locale's before ToDouble, so every input ToDouble accepted before still parses.

(cherry picked from commit ea4927b601)
2026-11-21 15:42:06 +08:00
HanifKoh ebff7f7cdb Keep Tree Hybrid's Expanded First Layer on the Bed (#17700)
(cherry picked from commit 9d6ba7eae2)
2026-11-21 15:42:06 +08:00
Arthur Porto 2707660ede Show the prime volume of each filament where the Type 1 prime tower takes it (#17424)
The Type 1 prime tower purges the prime volume of each filament, and no tab showed it, so on Bambu Lab printers the process Prime volume looked like the setting but changed nothing. The filament's Multimaterial page now has a Prime volume group with Filament change, and Hotend change on a printer whose extruder holds more than one nozzle, such as the H2C. On a Type 1 tower the process Prime volume is greyed out. Slicing is unchanged.

Fixes #16350

(cherry picked from commit 14f52a4a27)
2026-11-21 15:42:06 +08:00
yw4z 42f7edd347 Fix plate skirt start point not saved to 3mf (#17457)
Save and load the plate's skirt start angle in the project file. Before this, a skirt start point set in Plate Settings was lost on save. Adds a round-trip check to the plate test in test_3mf.cpp.

(cherry picked from commit c51687243f)
2026-11-21 15:42:06 +08:00
yw4z 2bee8e2fb2 Fix: Non positive volumes of selected or non selected object visible on Texture displacement gizmo (#17656)
The Texture displacement gizmo made every volume visible again on each frame, so modifiers, negative volumes and support blockers/enforcers from other objects and instances showed through. It now restores only the selected instance, and hides the selected object's non-part volumes while the gizmo is open.

(cherry picked from commit c56506d68b)
2026-11-21 15:42:06 +08:00
Arthur Porto 36bf1617eb Load the Device tab page only once the tab is opened (#17580)
Load the Device tab page only once the tab is on screen

The idle prebuild of the main window panels builds the Device tab's web
view while the tab is hidden and loads the print host page into it at
once, because a new panel counts as shown. The page, and the camera
stream it opens, then run from startup until the app closes, whether
the tab is ever opened or not. load_url() now defers the page unless
the view is on screen, as it did before the prebuild.

(cherry picked from commit 571386db57)
2026-11-21 15:42:06 +08:00
Ian Bassi 32a7eb2200 Start the max flowrate test's spiral at full flow (#17699)
(cherry picked from commit 882175b2ae)
2026-11-21 15:42:06 +08:00
HanifKoh 8ad87f1b33 Bound Out-of-Range filament_map and physical_extruder_map Values (#17476)
* Treat a filament_map Nozzle Outside the Printer as Nozzle 1

A filament_map entry of 0, a negative number or a number above the
nozzle count made Extruder::extruder_id() wrap or run past the end, and
print_machine_envelope then took the std::max over the per-extruder
machine limits out of bounds on a flavour that emits them.

Print::apply now treats an entry outside [1, nozzle count] as nozzle 1,
before the variant expansion and the config snapshot, and logs it once.
After the clamp the slicing engine only sees in-range values. It works
on this print's copy of the config; readers of the plate or project
config are not changed, and in-range maps are left alone.

* Skip a physical_extruder_map Entry Outside the Per-Nozzle Table on Export

The first-filament table built for the start G-code is sized by the
nozzle count, and the export wrote it at the index named by
physical_extruder_map. An entry outside that range corrupted the heap,
and a negative one aborted or hung the export.

The value is a firmware tool number that is also emitted elsewhere, so
it is left as it is; only the write into the table is bounded.

* Treat a filament_map Nozzle Outside the Printer as Nozzle 1 in the CLI

With --filament-map-mode Manual on a multi-nozzle profile, the CLI
indexed the per-nozzle unprintable-filament sets, and shifted the
per-filament printable status, with the raw filament_map value. A value
of 0, a negative number or one above the nozzle count read out of bounds
and crashed before the print was configured.

The checks now use a local copy of the map in which an entry outside
[1, nozzle count] is nozzle 1, the same policy Print::apply applies.
In-range maps are unchanged.

(cherry picked from commit d3992c2288)
2026-11-21 15:42:06 +08:00
HanifKoh 7ac890019c Skip Arachne Toolpaths When the Voronoi Diagram Cannot Be Repaired (#17600)
* Skip Arachne Toolpaths When the Voronoi Diagram Cannot Be Repaired

When the Voronoi repair fails, the skeletal graph built from the
diagram has edges without twins, and the later stages dereference
them. Leave the graph empty and log an error instead, so that outline
gets no toolpaths rather than crashing the slice.

* Cast the Far Sliver Coordinates to `coord_t` in the Unrepairable Voronoi Test

On macOS int64_t is long long, so a literal of type long matched no Point constructor exactly and the call was ambiguous.

(cherry picked from commit 4aaef535e6)
2026-11-21 15:42:06 +08:00
HanifKoh 838f86d9d0 Stop Arachne's Outline Simplification From Placing Vertices Metres Away (#17599)
simplify() may move a vertex to the intersection of its neighbouring
lines, guarded by a check that the point stays near them. The check
squared the distance in int64, which overflows when nearly parallel
lines meet more than about 3 m away, so the far point was accepted.
The broken outline gave a Voronoi diagram the repair could not fix,
and SkeletalTrapezoidation then dereferenced an edge without a twin.

Compute the squared distances in double.

(cherry picked from commit 8ebb0a9a2b)
2026-11-21 15:42:06 +08:00
Kris Austin 8bb72a0373 Arrange items almost as wide as the bed again (#17416)
* Arrange items almost as wide as the bed again

An arrange spacing lets a rectangular bed grow by the part of the spacing
past every item's brim or tree support, the way printing by object
already grows it. The spacing is kept in full and a part that fits the
bed is not refused for it. The bed does not grow when an item that can
be placed would keep less inflation than the growth, beyond the EPSILON
slack, so a part that fills the bed may sit up to EPSILON past its edge,
within BuildVolume::BedEpsilon. A round bed never grows for a spacing,
since moving its points along each axis would grow it unevenly.

The cap on an item's inflation measures the item as the nester packs it,
inflated with square joins and turned, so it holds for an item turned to
the Y axis or by hand, and it leaves room for the skirt. An item too big
for the bed keeps its full inflation, so it is still refused on a grown
bed, and it no longer sets the bed margin given back to the other items.
Printing by object, this keeps the 5 mm margin for the placed objects
when another one is refused.

The arrange bed keeps EPSILON on each side of the largest item for every
print sequence, since the nester cannot place an item beside one that
fills the bed exactly.

The skirt room reads a percent first layer line width against the
nozzle diameter instead of as millimeters, and accepts a width stored as
a plain number.

update_arrange_items() runs the arrange setup in the order it depends on
for the arrange job and the CLI.

* Arrange items the nester has to turn

With rotations allowed the nester turns an item that does not fit as it
lies, even onto the bed's diagonal, so no item counts as too big. An item
that has to turn is measured at an angle where it fits along the bed's
axes, if there is one, so it keeps its spacing.

(cherry picked from commit 428a8fcc91)
2026-11-21 15:42:06 +08:00
Noisyfox 8c4110af09 Fix Cut gizmo empty-space right clicks and Reset availability (#17200)
* Fix empty-space right clicks entering cut part selection

Return whether a cut part was hit and discard only a newly initialized part selection on a miss. Preserve existing grouping and skip connector updates when nothing was hit.

Validation: RelWithDebInfo build passed. GUI checked right clicks on empty plate and outside plate preserve preview and an enabled, checked Cut to parts option; an empty click preserves existing grouping.

Local clang-tidy is blocked by wx/msw/wrapcctl.h HDITEM errors also reproduced on the unchanged baseline.

* Enable Cut Reset while part selection is active

Treat active part selection as resettable state even when the plane remains centered and there are no connectors. Reuse reset_cut_plane to clear grouping and restore model rendering.

Validation: RelWithDebInfo build passed. GUI verified actual part selection enables Reset; Reset restores the initial preview and Cut to parts; performing Cut to parts then produces Cube_A and Cube_B under one Cube object.

Local clang-tidy remains blocked by baseline wxWidgets HDITEM errors.

* Avoid rebuilding cut parts for empty-space right clicks

Query the selected volumes' existing original-mesh raycasters before initializing part selection. Use world transforms and ignore cut-plane clipping. Fall back to the existing cut-part test if an original raycaster is unavailable, and retain the final hit/miss cleanup.

Validation: existing RelWithDebInfo build and diff check passed. GUI tested a 262144-triangle torus: five outside clicks and five hole clicks added no cut trace records; actual part clicks built selection, existing grouping survived hole clicks, Reset recovered normal cutting, and Cut to parts produced A/B volumes under one object. Full right-drag gestures and macOS/Linux were not tested. Local clang-tidy remains blocked by baseline wxWidgets HDITEM errors.

* Skip empty undo snapshots when resetting only cut grouping

Create the scoped Reset Cut snapshot only when the plane differs from its initial state or connectors will be removed. Part selection is not serialized, so clearing it alone must not add an ineffective undo entry.

Validation: existing RelWithDebInfo build and diff check passed. GUI and trace logs confirmed grouping-only Reset creates no Reset Cut snapshot, a plane Reset remains undoable from 17.5 mm back to 22.5 mm, and connector-only Reset remains undoable. Local clang-tidy remains blocked by baseline wxWidgets HDITEM errors.

* Clarify Cut Reset tooltip includes part assignments

Describe the cutting plane, connector removal, and part-assignment reset in one translatable message. Add a translator comment explaining the assignments.

Validation: git diff --check passed. Full gettext extraction, merging, and compilation passed for all 23 catalogs in an isolated validation workspace.

---------

Co-authored-by: yw4z <ywsyildiz@gmail.com>
(cherry picked from commit 47a17ad9a3)
2026-11-21 15:42:06 +08:00
Lam Wei Lun a6433c4ed9 Report the first layer time in the estimated-first-layer-time comment (#17328)
The comment was written from TimeMachine::prepare_time, which only
accumulates the blocks inside the start G-code's ;TYPE:Custom region, so
it reported the start G-code duration. With a start G-code that just
calls a PRINT_START macro that is close to zero.

The comment is a port of PrusaSlicer 2.6's identical one, which prints
the first layer time, and OrcaSlicer already writes the first layer time
into the .3mf plate metadata as first_layer_time, so G-code and .3mf
disagreed.

Write TimeMachine::first_layer_time instead, for both the normal and the
silent mode line and for every vendor. prepare_time is unchanged: the
preview still shows it as "Prepare time" and the Bambu-only
"; model printing time: ..." line still subtracts it.

The new test slices a cube with a slow start-G-code move and checks that
the comment carries the first layer time, which fails without the change.

(cherry picked from commit 2b2bf3f5e2)
2026-11-21 15:42:06 +08:00
yw4z 1746ccf915 Fix: Prevent deselecting object and closing widget while clicking to toolbar background / divider (#15548)
* init

* simplify code

* simplify comments

* update

* update

(cherry picked from commit b2978d1c73)
2026-11-21 15:42:06 +08:00
Brandon Wees 59aed6366c fix: open macOS deep links when OrcaSlicer is not already running (#16769)
(cherry picked from commit 08f69da5ae)
2026-11-21 15:42:06 +08:00
Lam Wei Lun cb63c15a9e Fix top surface printing over inner walls with only one wall on top (#17597)
Co-authored-by: Ian Bassi <ian.bassi@outlook.com>
(cherry picked from commit 07f38df2a4)
2026-11-21 15:42:06 +08:00
Kiss Lorand e9cc9d5e0f Fix part deformation in Assembly Parallel operation (#17552)
(cherry picked from commit 87fb987668)
2026-11-21 15:42:06 +08:00
HanifKoh 5f243f93ba Don't Crash or Stay Silent When the OpenGL Context Can't Be Activated (#17441)
* Don't Crash or Stay Silent When the OpenGL Context Can't Be Activated

When the driver refuses to make the OpenGL context current, no ImGui frame ever runs and
OpenGL is never initialized, so ImGui has no current font and the GL functions are never
loaded. A notification that measures its text from an event handler (a validation warning, a
job's progress, the slicing progress bar) then reads the null font and crashes, and once a
slice completes, loading its G-code preview calls the unloaded GL functions and crashes too.

Notifications now skip measuring until a frame has set up the font; they stay Unknown, and
render() already measures them when it draws. The G-code preview is not loaded while OpenGL
cannot be initialized; with OpenGL up, init_opengl() returns at once and nothing changes.

On Windows, a shown canvas whose context cannot be made current is reported once: wx drops the
wglMakeCurrent error in release builds, so the call is repeated to log GetLastError() with the
canvas's pixel format and the display it is on. If OpenGL never came up in the session, the
user gets one error dialog instead of an empty 3D view with no explanation. A GTK canvas can
fail until its surface is mapped, so other platforms only get the crash fixes.

* Name the Display Adapter Instead of Only Suggesting a Driver Upgrade When OpenGL Can't Be Activated

A context that can't be made current has several causes: no OpenGL driver
behind the display the window is on (a disabled adapter, or one running on
the Microsoft Basic Display Adapter), a broken driver, or an overlay. The old
advice to upgrade the driver covered only one of them. The dialog now names
the adapter Windows reports for the window's display and lists the general
checks, and the log line keeps the display device and adapter name.

(cherry picked from commit 3c72223aaf)
2026-11-21 15:42:06 +08:00
Ian Bassi 8eb8230a8c Split smoothed infill corners no finer than 5 microns (#17630)
(cherry picked from commit e76b4d676c)
2026-11-21 15:42:06 +08:00
HanifKoh 589f8e7c00 Hide a Plugin Page When the Overflow Tab Swaps It Out (#17626)
(cherry picked from commit 47c67e1c44)
2026-11-21 15:42:06 +08:00
Ian Chua 8015fcafce fix: nozzle sync table flash and white box (#17607)
* fix: nozzle table height measurement before dialog layout

* fix: white flash when nozzle list table loads

(cherry picked from commit 9232613297)
2026-11-21 15:42:06 +08:00
Ian Chua 98aa94be13 fix: windows plugin update deletion failure (#17462)
* fix: windows plugin update deletion failure

* fix: retry transient Windows plugin deletion failures

(cherry picked from commit d6ec712c2e)
2026-11-21 15:42:06 +08:00
Rodrigo Faselli 888e3151c5 Fix Crash (access violation) instead of the "empty first layer" (#17565)
(cherry picked from commit 0e8e95d516)
2026-11-21 15:42:06 +08:00
Kris Austin 3de993481e Use WebKit's Shared-Memory Transport on Wayland Outside the Flatpak (#17399)
* Use WebKit's shared-memory transport on Wayland outside the Flatpak

In a Wayland session, the hardware DMABUF path of Ubuntu's WebKitGTK 2.52
on Intel GPUs froze the Preview, Device and Project tabs and left the 3D
view drawn over other pages. On the default path of a build with EGL,
outside the Flatpak, set WEBKIT_DMABUF_RENDERER_FORCE_SHM=1, as Orca
already does for NVIDIA and virtual machines, so compositing stays on.
WebKitGTK 2.42 and 2.43 have the DMABUF renderer but ignore that switch,
so they get WEBKIT_DISABLE_COMPOSITING_MODE=1 instead. The Flatpak's
runtime WebKitGTK works, so it keeps the hardware path.

A Wayland session is detected by wayland_socket_available(), which looks
for the socket the way wl_display_connect(NULL) does. The no-EGL fallback
and the GUI start-up check use it too, so all three agree with GTK.
is_running_in_flatpak() checks only /.flatpak-info, because a host process
started from a Flatpak can inherit FLATPAK_ID; the data-dir migration and
the Troubleshoot dialog now use it. Both helpers live in libslic3r/Utils
and have unit tests.

Fixes #17381

* Note that Debian's WebKitGTK 2.54 on AMD freezes too

(cherry picked from commit bf1fb93b78)
2026-11-21 15:42:06 +08:00
Kris Austin 08d0b874bb Fix overlapping text under "Check the reason" on macOS (#17366)
The error panel that "Check the reason" opens in the print, send,
calibration and bind dialogs is a scrolled window with a fixed size.
It starts hidden, and showing it gives it the size it already had.
macOS only sends a size event when the size changes, so the panel
never laid out its rows and drew them all at its top-left corner.
Lay the panel out when it opens.

Fixes #17065

(cherry picked from commit 33c07cc74d)
2026-11-21 15:42:06 +08:00
Joseph Robertson f561db74e2 Fix black scene cache and FXAA frames under VirtualGL (#17508)
(cherry picked from commit 3936cd5f6a)
2026-11-21 15:42:06 +08:00
HanifKoh 400fd8f98f Fix the Crash When Editing an Object's Speed on a Printer Without a Matching Variant (#17529)
A process whose print_extruder_variant has no entry for the printer's extruder type and nozzle volume (a Bowden
printer with a "Direct Drive Standard" process, or a bare "Bowden" variant) made Tab::switch_excluder return
before it mapped the page's variant fields. Editing a per-variant option on the Objects tab then read the end of
that empty map in TabPrintModel::on_value_change and crashed with std::bad_alloc.

switch_excluder now falls back to the extruder's first variant through find_variant_index, as slicing does,
and logs it; get_index_for_extruder keeps returning -1 for its other callers. on_value_change checks the map
lookup and otherwise takes the index from the field id.

(cherry picked from commit 71c9f556f0)
2026-11-14 09:39:46 +08:00
HanifKoh 0153b74f38 Skip the Final Wipe-Tower Unload on Toolchangers When the Tower Stops Short (#17496)
The short-tower final unload is only needed on single-extruder MMU printers, which have to pull the
last filament out. Without SEMM the final purge only rams, with no retraction or parking, so a
toolchanger whose filament has multitool ramming on printed those lines in mid-air above the tower.
Generate it for SEMM only.

(cherry picked from commit 2c50d15451)
2026-11-14 09:39:45 +08:00
Eric Lin 7dd4bbb92a Fix CLI crash when filament presets set no diameter (#16911)
Since #16867 pads filament_colour to the filament count, every CLI run that loads filament presets without a colour recomputes the flush matrix. Standalone filament presets may omit the per-filament keys that block reads. A missing filament_diameter crashed the CLI, and a short filament_is_support failed the size check.

Grow both to the filament count before the recompute. A missing diameter follows the first filament, as get_at() reads it. A missing support flag is off.

get_min_flush_volumes() also read past the end of filament_long_retractions_when_cut and filament_retraction_distances_when_cut when a filament omitted them. Pad both with the first filament's value, so the flush matrix matches the print.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
(cherry picked from commit 7c76be2ebc)
2026-11-14 09:39:45 +08:00
TheLegendTubaGuy 9438d21fce Add a Reload from Disk Keyboard Shortcut (#17373)
(cherry picked from commit 4b21b29cd2)
2026-11-14 09:39:45 +08:00
yw4z 46f37be6fc Draw g-code marker tilted for belt printers (#17427)
* init

* update

* fix tilt for decoupled frames

(cherry picked from commit 9e554377a0)
2026-11-14 09:39:45 +08:00
HanifKoh ac448b85dc Ignore Modifiers When Focus Mode Decides Which Plate an Object Is On (#17474)
Focus mode hid an object only when its footprint missed the current plate, and the footprint included its modifiers, negative volumes and support enforcers/blockers. A large modifier reaching over another plate kept the object drawn there. Build the footprint from the model parts only, as plate membership does.

(cherry picked from commit 7cb97a82de)
2026-11-14 09:39:45 +08:00
raistlin7447 55d0762795 Include <utility> in UnsavedChangesDialog.cpp
The #17461 pick uses std::pair there. On main the include came in
with #16929, which isn't on this branch, so clang-tidy failed.
2026-11-14 09:39:45 +08:00
Ian Bassi 4adf1e9f2b Copy per-nozzle settings to every tool of a toolchanger, and choose which unsaved changes to keep (#17461)
Co-authored-by: raistlin7447 <kris.austin@gmail.com>
(cherry picked from commit 34de2b49df)
2026-11-14 09:39:45 +08:00
HanifKoh 6b0d804828 Ignore a Print Sequence Count That Does Not Match Its Values (#17243)
* Ignore a Print Sequence Count That Does Not Match Its Values

get_other_layers_print_sequence split other_layers_print_sequence into
other_layers_print_sequence_nums groups and read the layer range from the
first two entries of each, checking the layout with an assert that Release
builds compile out. A count raised without its values, as a command line
override does on a project storing the default placeholder, read past a
one-element vector. A count that does not divide the values, or groups too
short for a range and one extruder, now give no custom sequence, as the
default pair does.

* Log the Ignored Print Sequence and Test the Two-Group Case

A pair that is ignored now says so in the log, since the removed assert was
the only sign of it. The test covers two groups that divide the values but
have no extruder, and names the negative-count case.

(cherry picked from commit 7e3d5d4d04)
2026-11-14 09:39:45 +08:00
HanifKoh 24752a2c94 Fix the Crash When the Per-Extruder Printable Areas Do Not Overlap (#17439)
When the per-extruder printable areas only touched or did not overlap, get_shared_poly read the first polygon of an empty intersection. That crashed the CLI on the bed shape, and the GUI in scale to fit, fill bed and prime tower placement.

The shared area is now empty in that case. An area with fewer than three points leaves its extruder the whole bed. Placement (get_bed_shape with use_share, PartPlate::get_build_volume(true)) falls back to the whole bed. The prime tower's default position and drag fall back to the plate's shape. Validation now says the extruder printable areas share no common area, instead of reporting the tower as partially outside the printable area.

Profiles whose areas overlap, and profiles without areas, get the same shapes as before.

(cherry picked from commit d7534d7fb9)
2026-11-14 09:39:45 +08:00
HanifKoh 2dff874832 Write One Nozzle Volume Type per Nozzle From the CLI (#17440)
The CLI now sets one nozzle_volume_type per nozzle, as the GUI does. A command-line value wins, then the project's own types, then the printer's defaults. A short list repeats its first entry and a long one is cut to the nozzle count. The sized list is written to the project config and over the command-line value, so the export has one type per nozzle, and reopening it in the CLI keeps the flush matrix the user set. The flush volume setup reads the sized types instead of indexing a short command-line list past its end.

Adds the cli_nozzle_volume_type test.

(cherry picked from commit 478cc90ae7)
2026-11-14 09:39:45 +08:00
SoftFever 832e2fc2de Select sketch constraints by clicking their badges instead of deleting them (#17459)
* Select sketch constraints by clicking their badges instead of deleting them

* Drop a selected sketch constraint when geometry is picked or the tool changes

(cherry picked from commit c872776d24)
2026-11-14 09:39:45 +08:00
SoftFever b2149b8dab Show a sketch's constraints and own name as soon as it opens for editing (#17458)
* Show a sketch's constraints in the sidebar as soon as it opens for editing

* Name the sketch being edited in the Design tab's sketch card and banner

* Keep an ampersand in an edited sketch's name on its card and banner

(cherry picked from commit 2ee47e29fb)
2026-11-14 09:39:45 +08:00
SoftFever 09a685181f Register Fill bed instances with the plate they land on (#17480)
(cherry picked from commit 40f43febbd)
2026-11-14 09:39:45 +08:00
Ian Chua 8600767d6a fix: skip cached updates for unused vendors (#17449)
* fix: skip cached updates for unused vendors

* refactor: clarify vendor selection helper and comments

(cherry picked from commit 021ef5506c)
2026-11-14 09:39:45 +08:00
Fernando Marino` a4faf61d29 Keep the final wipe-tower unload for ramming printers when the tower stops short (#15917)
Keep the final wipe-tower unload for ramming printers when the tower stops short of the object's top

The Type2 final purge was skipped whenever the tower stopped below the object's top layer,
so a ramming printer's last filament was never unloaded. Generate it again when the last
filament rams (single_extruder_multi_material or filament_multitool_ramming), placing it at
the object's top layer so the nozzle doesn't descend into the part, and keep skipping it
otherwise.

Co-authored-by: Fernando Marino <f.marino@rheagroup.com>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
(cherry picked from commit 163b95f93d)
2026-11-14 09:39:45 +08:00
DIEHARDave 34f791e31c Fix: Run slicing pipeline plugins whose manifest reference is missing (#16884)
When a capability named in `slicing_pipeline_plugin` has no entry in the derived `plugins` manifest, the slicing pipeline now finds it by name among the loaded plugins instead of skipping it. The lookup moved into `PluginManager::resolve_capability_ref()`, so the manifest resolver and this fallback use the same rule.

A capability that isn't loaded is still skipped. So is a manifest entry that points at a plugin that isn't installed. No local plugin with the same capability name runs in its place.

Adds a test that slices with an empty manifest and checks that the capability ran.

(cherry picked from commit bb81f6b39a)
2026-11-14 09:39:44 +08:00
Noisyfox 913e1ada42 Fix plate offsets in the preview tool position readout (#17172)
Fix preview tool position coordinates on additional plates

(cherry picked from commit af931e65fc)
2026-11-14 09:39:44 +08:00
Ian Bassi 91ae6023d7 Keep realistic view on while painting seams, supports and fuzzy skin (#17317)
(cherry picked from commit c78272f583)
2026-11-14 09:39:44 +08:00
TheLegendTubaGuy aaf6e81680 Ignore BN_DBLCLK in toggle-button widgets on Windows (#17194)
CheckBox, SwitchButton and RadioBox are owner-drawn wxBitmapToggleButtons.
On a double click wxAnyButton turns the second click into a normal click,
but the button still sends BN_DBLCLK as well and wxToggleButton toggles on
both, so a quick double click toggled three times and looked like a lost
click. RadioBox callers select on mouse down, so there the extra toggle
cleared the value while the button still drew as selected.

(cherry picked from commit 41351efc34)
2026-11-14 09:39:44 +08:00
HanifKoh c6a218f722 Stop Re-Parenting the Settings Dialog on Windows (#17161)
Popup() called Reparent() on the first open, which is a plain SetParent:
the dialog kept its popup style but became a real child of the main
window. The Windows taskbar peek then drew it over the main window even
after it was closed and hidden.

The dialog already has the main window as its owner from creation, so
the call is not needed.

(cherry picked from commit 1898de34d1)
2026-11-14 09:39:44 +08:00
Lam Wei Lun 0d7fb9e6b1 Fix oversized "DEV" text in the mode switch on Retina macOS (#17197)
Fix oversized DEV text in the mode switch on Retina macOS

ModeSwitchButton::doRender() scaled the DEV font by mac_max_scaling_factor()
on macOS, but the paint DC there already works in logical points. On a 2x
Retina display the 12pt font was drawn at 24pt inside the FromDIP(48, 18)
switch, so it overflowed the track and got clipped.

Only the MSW path needs the scaled font: it draws through a wxGCDC over a
scale-1 memory DC, whose text is sized for 96 DPI. Keep that compensation
there and draw with the default font on macOS and GTK, which is also what
the rest of the panel uses. The MSW baseline offset is unchanged.

Fixes #17180

(cherry picked from commit 195fbe5ee9)
2026-11-14 09:39:44 +08:00