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;
|
||||
|
||||
// Number of original vertices and triangles.
|
||||
int m_orig_size_vertices;
|
||||
int m_orig_size_indices;
|
||||
int m_orig_size_vertices = 0;
|
||||
int m_orig_size_indices = 0;
|
||||
|
||||
// Cache for cursor position, radius and direction.
|
||||
struct Cursor {
|
||||
|
|
Loading…
Add table
Reference in a new issue