mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 14:44:19 -06:00
Fixed some clang warnings
This commit is contained in:
parent
770d8b5d08
commit
5e9a8ea700
17 changed files with 45 additions and 30 deletions
|
@ -394,11 +394,10 @@ class GLCanvas3D
|
|||
class Slope
|
||||
{
|
||||
bool m_enabled{ false };
|
||||
GLCanvas3D& m_canvas;
|
||||
GLVolumeCollection& m_volumes;
|
||||
static float s_window_width;
|
||||
public:
|
||||
Slope(GLCanvas3D& canvas, GLVolumeCollection& volumes) : m_canvas(canvas), m_volumes(volumes) {}
|
||||
Slope(GLVolumeCollection& volumes) : m_volumes(volumes) {}
|
||||
|
||||
void enable(bool enable) { m_enabled = enable; }
|
||||
bool is_enabled() const { return m_enabled; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue