mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-05 16:40:40 +08:00
Fixed use of an uninitialized variable in TriangleSelector caused the cursor radius in TriangleSelector to be mistakenly reset after undo.
This commit is contained in:
parent
5dc2a5a24e
commit
62d9f73d78
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user