diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libslic3r/TriangleSelector.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libslic3r/TriangleSelector.hpp b/src/libslic3r/TriangleSelector.hpp index 5961e76a6..3fbb5a3d1 100644 --- a/src/libslic3r/TriangleSelector.hpp +++ b/src/libslic3r/TriangleSelector.hpp @@ -336,7 +336,8 @@ protected: int m_orig_size_indices = 0; std::unique_ptr<Cursor> m_cursor; - float m_old_cursor_radius_sqr; + // Zero indicates an uninitialized state. + float m_old_cursor_radius_sqr = 0; // Private functions: private: |