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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue