mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-12 23:13:32 +00:00
Merge pull request #176 from Snapmaker/dev_2.3.0_alves
fix linux build failed
This commit is contained in:
@@ -38,9 +38,9 @@
|
||||
<color type="primary" scheme_preference="light">#009688</color>
|
||||
</branding>
|
||||
<releases>
|
||||
<release version="2.2.1" date="2025-12-26">
|
||||
<release version="2.2.4" date="2025-12-26">
|
||||
<description>
|
||||
<p>Version 2.2.1 release with improvements and bug fixes.</p>
|
||||
<p>Version 2.2.4 release with improvements and bug fixes.</p>
|
||||
</description>
|
||||
</release>
|
||||
</releases>
|
||||
|
||||
@@ -104,12 +104,6 @@ modules:
|
||||
url: https://github.com/SoftFever/Orca-deps-wxWidgets
|
||||
branch: master
|
||||
path: ../
|
||||
- type: file
|
||||
path: patches/0001-Enable-using-a-dark-theme-when-Gnome-dark-style-is-s.patch
|
||||
dest-filename: wxwidgets-dark-theme.patch
|
||||
- type: shell
|
||||
commands:
|
||||
- patch -p1 < wxwidgets-dark-theme.patch
|
||||
cleanup:
|
||||
- "*.la"
|
||||
- "*.a"
|
||||
|
||||
@@ -554,6 +554,9 @@ void ObjectDataViewModel::UpdateBitmapForNode(ObjectDataViewModelNode *node)
|
||||
scaled_bitmap_name += std::to_string(vol_type);
|
||||
scaled_bitmap_name += (wxGetApp().dark_mode() ? "-dm" : "-lm");
|
||||
|
||||
if (!m_bitmap_cache)
|
||||
return;
|
||||
|
||||
wxBitmap* bmp = m_bitmap_cache->find(scaled_bitmap_name);
|
||||
if (bmp == nullptr) {
|
||||
std::vector<wxBitmap> bmps;
|
||||
|
||||
Reference in New Issue
Block a user