mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-26 14:06:32 +01:00
Trying to fix the remaining OSX warnings
This commit is contained in:
1 parent
05a6cfeaea
commit
8049dd1f72
7 files changed
+27
-6
No files matched your search
@@ -147,9 +147,16 @@ public:
|
||||
, m_renderer(m_raw_renderer)
|
||||
, m_trafo(trafo)
|
||||
{
|
||||
#ifdef _MSC_VER
|
||||
// suppress false MSVC warning C4723: possible division by zero
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable : 4723)
|
||||
#endif // _MSC_VER
|
||||
m_pxdim_scaled.w_mm /= pd.w_mm;
|
||||
m_pxdim_scaled.h_mm /= pd.h_mm;
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(pop)
|
||||
#endif // _MSC_VER
|
||||
m_renderer.color(foreground);
|
||||
clear(background);
|
||||
|
||||
|
||||
Reference in new issue
Block a user