mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 11:23:42 +00:00
FIX: correct the mac os version check
jira: [STUDIO-13291] Change-Id: I70e1015f3bfd436ca021a1e98ec66a2f37d21ff1 (cherry picked from commit e4a3d23368659a5bface6cc7215ebacbbfe99dfc)
This commit is contained in:
@@ -79,8 +79,10 @@ MachineObjectPanel::MachineObjectPanel(wxWindow *parent, wxWindowID id, const wx
|
|||||||
auto minor = platformInfo.GetOSMinorVersion();
|
auto minor = platformInfo.GetOSMinorVersion();
|
||||||
auto micro = platformInfo.GetOSMicroVersion();
|
auto micro = platformInfo.GetOSMicroVersion();
|
||||||
|
|
||||||
//macos 13.1.0
|
//macos over 13.1.0
|
||||||
if (major >= 13 && minor >= 1 && micro >= 0) {
|
if (major == 13 && minor >= 1) {
|
||||||
|
m_is_macos_special_version = true;
|
||||||
|
} else if (major > 13) {
|
||||||
m_is_macos_special_version = true;
|
m_is_macos_special_version = true;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user