OrcaSlicer/src
Marius Wachtler 2b95ef4e3b
Fix some errors uncovered via compiler warnings (#7954)
* fix: tray_exist_bits != tray_exist_bits comparison

* fix: title == GetTitle() == title comparison

* fix: possibly dangling reference to a temporary
```
OrcaSlicer/src/libslic3r/calib.cpp:456:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  456 |     const auto &w         = bed_ext.size().x();
OrcaSlicer/src/libslic3r/calib.cpp:456:45: note: the temporary was destroyed at the end of the full expression ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 2, 1, 2>, 1>*)(& Slic3r::BoundingBoxBase<PointClass>::size() const [with PointClass = Eigen::Matrix<double, 2, 1, 2>]()))->Eigen::DenseCoeffsBase<Eigen::Matrix<double, 2, 1, 2>, 1>::x()’
  456 |     const auto &w         = bed_ext.size().x();
```

* fix: mixup of | and ||
in this case I think it actually does not change the semantics it just means that both comparison have to be evaluated.

* fix: multi-character character constants need "

OrcaSlicer/src/slic3r/GUI/MediaPlayCtrl.cpp:392: warning: multi-character character constant [-Wmultichar]
  392 |     if (auto n = tunnel.find_first_of('/_'); n != std::string::npos)
OrcaSlicer/src/slic3r/GUI/MediaPlayCtrl.cpp: In member function ‘void Slic3r::GUI::MediaPlayCtrl::Stop(const wxString&)’:
OrcaSlicer/src/slic3r/GUI/MediaPlayCtrl.cpp:392: warning: overflow in conversion from ‘int’ to ‘char’ changes value from ‘12127’ to ‘95’ [-Woverflow]

* fix: missing paranthesis - skips null check

* NFC: Remove this check it can never be false

* NFC: fix warning: statement has no effect
2025-01-08 13:06:39 +08:00
..
admesh Revert "Fix Compile Warnings (#5963)" 2024-08-12 00:00:20 +08:00
agg Add the full source of BambuStudio 2022-07-15 23:42:08 +08:00
ankerl Initial port of the new ensure vertical thickness algorithm from PrusaSlicer (#2382) 2023-10-19 19:55:05 +08:00
boost Add the full source of BambuStudio 2022-07-15 23:42:08 +08:00
build-utils Add the full source of BambuStudio 2022-07-15 23:42:08 +08:00
clipper Fixed Clipper library (our own fork of it) when working with Z coordinate (#7180) 2024-10-24 22:26:40 +08:00
clipper2 Fix Clipper2 build with GCC13 2023-06-14 10:43:35 +08:00
eigen Add the full source of BambuStudio 2022-07-15 23:42:08 +08:00
expat Change Application name to OrcaSlicer 2023-03-12 10:05:22 +08:00
fast_float Add the full source of BambuStudio 2022-07-15 23:42:08 +08:00
glu-libtess Add the full source of BambuStudio 2022-07-15 23:42:08 +08:00
hidapi Add the full source of BambuStudio 2022-07-15 23:42:08 +08:00
hints Change Application name to OrcaSlicer 2023-03-12 10:05:22 +08:00
imgui Warnings: various fixes (#6582) 2024-09-07 18:16:50 +08:00
imguizmo Revert "Fix Compile Warnings (#5963)" 2024-08-12 00:00:20 +08:00
libigl Add the full source of BambuStudio 2022-07-15 23:42:08 +08:00
libnest2d Revert "Fix Compile Warnings (#5963)" 2024-08-12 00:00:20 +08:00
libslic3r Fix some errors uncovered via compiler warnings (#7954) 2025-01-08 13:06:39 +08:00
mcut Fix build warnings on windows, fix various bugs/logic errors/missing returns/etc, update boost::bind (#2229) 2023-09-27 23:55:23 +08:00
minilzo Support upload g-code to third-party printers 2022-08-20 23:06:41 +08:00
miniz ENH: Open Prinables.com Links and Zip Archives (#3823) 2024-05-22 10:52:34 +08:00
nanosvg Revert to WxWidgets 3.1.5 (#3249) 2023-12-23 17:44:09 +08:00
nlohmann Add the full source of BambuStudio 2022-07-15 23:42:08 +08:00
platform support downloading from makerworld on Mac by default. (#6867) 2024-09-22 16:49:14 +08:00
qhull Fix Linux build & some warnings (#6438) 2024-08-18 11:33:00 +08:00
qoi Thumbnail Formats Option Ported from PrusaSlicer and add BIQU/BTT format (#2405) 2023-10-17 20:00:38 +08:00
semver Properly handle "dev" version 2024-03-17 17:33:31 +08:00
Shiny Add the full source of BambuStudio 2022-07-15 23:42:08 +08:00
slic3r Fix some errors uncovered via compiler warnings (#7954) 2025-01-08 13:06:39 +08:00
spline Fix -Wsubobject-linkage warning (#6243) 2024-08-04 10:48:24 +08:00
stb_dxt Add the full source of BambuStudio 2022-07-15 23:42:08 +08:00
BaseException.cpp Revert "Fix Compile Warnings (#5963)" 2024-08-12 00:00:20 +08:00
BaseException.h Add the full source of BambuStudio 2022-07-15 23:42:08 +08:00
CMakeLists.txt fix build break error for multiconfig generator on Mac 2024-03-16 11:32:41 +08:00
OrcaSlicer.cpp fix a build error 2024-10-07 18:10:14 +08:00
OrcaSlicer.hpp Mdel preview renders the actual colors of the filaments based on the filaments currently loaded in the AMS 2024-06-16 17:15:51 +08:00
OrcaSlicer_app_msvc.cpp clean up 2023-08-09 13:42:41 +08:00
OrcaSlicer_profile_validator.cpp Tweak profile loading rules 2024-06-26 20:23:34 +08:00
StackWalker.cpp Improve Windows crash log (#2736) 2023-11-15 19:00:55 +08:00
StackWalker.h Add the full source of BambuStudio 2022-07-15 23:42:08 +08:00