Kris Austin
db29f570bd
build: clear 50 warnings - pessimizing moves and null checks that cannot fail ( #15408 )
...
* build: remove std::move that blocks copy elision
std::move wrapped around a temporary, or around a local being returned,
stops the compiler constructing it in place. Each edit is the fix clang
suggests, which is to delete the std::move call and keep its argument.
Three of the 39 sites save a move, the two return std::move(local) in
Print.cpp and TreeSupport.cpp:2749. The rest are equivalent either way
and match how the codebase already writes this elsewhere.
Clears 39 -Wpessimizing-move warnings.
* build: drop null checks on references and this
A reference cannot be bound to null and this cannot be null, so the
compiler folds these conditions to true and drops the guard. Seven are
if (&bitmap && bitmap.IsOk()), where IsOk() already does the work; two
test this directly. The guarded code runs either way, so removing the
dead operand changes nothing.
Clears 11 -Wundefined-bool-conversion warnings.
2026-08-28 08:05:59 -03:00
yw4z
7fa6175b4f
Compact Printer Selection UI - part 3 ( #11676 )
...
* init
* Update ImageDPIFrame.cpp
* Update Plater.cpp
* update
* update
* Update PresetBundle.cpp
* ensure 0.25 returned as 0.25 instead 0.2
* Merge branch 'main' into compact-printer-selection-UI-part-3
* Merge branch 'main' into compact-printer-selection-UI-part-3
* Merge branch 'main' into compact-printer-selection-UI-part-3
2025-12-23 01:30:03 +08:00
yw4z
db64def4c2
Compact Printer Selection UI - part 2 ( #11401 )
...
* update
* match bbl covers with profile folder
* Update printer_placeholder.png
* match vertical margins
* improve logic for showing bed type preview
* fix focus
* fix conflict
* fix conflict
* Update printer_placeholder.png
* Update Plater.cpp
* Update printer_placeholder.png
* revert changes for margins
* Update Plater.cpp
* Update Plater.cpp
* Revert "Update Plater.cpp"
This reverts commit f73e482081 .
* Update Plater.cpp
* fix badges not visible
* fix badge
* Update Plater.cpp
* update sync icon
* improve cover auto hide logic
* Update Plater.cpp
* delete bed type images
* simplify events
* hide nozzle selector for ToolChangers
* fix bed type not remembers value after printer change
2025-12-09 01:05:03 +08:00
Noisyfox
760f66d3d7
Merge remote-tracking branch 'upstream/main' into dev/p2s-pr
...
# Conflicts:
# src/slic3r/GUI/Plater.cpp
# src/slic3r/GUI/PrePrintChecker.cpp
# src/slic3r/GUI/StatusPanel.cpp
2025-11-18 09:17:13 +08:00
yw4z
73b93d2ed0
Compact Printer Selection UI ( #11196 )
2025-11-17 15:30:35 +00:00
zhou.xu
4e63907f72
ENH:modidy bed type
...
jira: STUDIO-13919 STUDIO-13920
Change-Id: I8e9e6bda972d294b91add1eeaf15061188bcdb2d
(cherry picked from commit a436da8930d631e094eef3b7829d270a027a9ac4)
(cherry picked from commit 5468697ff4ac4546111afdfd1f7eb43bd899f1de)
2025-10-28 15:29:53 +08:00
zhou.xu
fad8043f5e
FIX:Optimize display of ImageDPIFrame
...
jira: STUDIO-12783
Change-Id: I65bb9f6d1f70f921717acdf1dd24ab1d6e936e80
(cherry picked from commit 83594b82e0a9917d9be3f8cc54c2aa14d0f6bc57)
2025-09-29 20:41:21 +08:00
zhou.xu
b9796e8765
ENH:big_bed_image_popup automatic hide
...
jira: STUDIO-11327
Change-Id: I44a43d67ff909768f5e652a687883742ece14737
(cherry picked from commit dbaec237c4e53b9e93901f21274c729d79cce2d5)
2025-09-21 13:47:53 +08:00
zhou.xu
87116c0f00
ENH:When software is full screen in mac, the sub frame uses the wxSTAYBON_TOP style
...
jira: STUDIO-11046
Change-Id: Ie1b85e4ac5a5698ec42870349f688924cdf30e21
(cherry picked from commit b28b9c49b208b4269563f59b42ac671fca8035be)
2025-09-18 17:04:10 +08:00
zhou.xu
2c41b6e529
ENH:update image for plate type
...
jira: none
Change-Id: I590bf9d6596ccf5cd6e06844fb3ed247fa526ba6
(cherry picked from commit 6be306e548be9129d6cf1c34242910be02a70ed8)
2025-09-17 22:08:40 +08:00
zhou.xu
87f540b1e5
ENH:show big bed image
...
jira: none
Change-Id: Iaf3529345f688f2dbdc35c16f45253a5b65feb84
(cherry picked from commit 5e2861acca8d86d6e7012f73d3f739877eb05069)
2025-09-16 22:59:32 +08:00