mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-23 13:08:21 +08:00
TriangleSelector: Fix of a macOS crash
Calling reset() from constructor relied on uninitialized variable
This commit is contained in:
parent
afb5d929c4
commit
5a1d9aee15
@ -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…
x
Reference in New Issue
Block a user