mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 09:17:52 -06:00
TriangleSelector: Fix of a macOS crash
Calling reset() from constructor relied on uninitialized variable
This commit is contained in:
parent
afb5d929c4
commit
5a1d9aee15
1 changed files with 2 additions and 2 deletions
|
@ -118,8 +118,8 @@ protected:
|
||||||
float m_edge_limit_sqr = 1.f;
|
float m_edge_limit_sqr = 1.f;
|
||||||
|
|
||||||
// Number of original vertices and triangles.
|
// Number of original vertices and triangles.
|
||||||
int m_orig_size_vertices;
|
int m_orig_size_vertices = 0;
|
||||||
int m_orig_size_indices;
|
int m_orig_size_indices = 0;
|
||||||
|
|
||||||
// Cache for cursor position, radius and direction.
|
// Cache for cursor position, radius and direction.
|
||||||
struct Cursor {
|
struct Cursor {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue