Sphere brush color in MMU painting gizmo is now the same as color used for painting.

This commit is contained in:
Lukáš Hejl 2021-05-31 14:22:00 +02:00
parent 033d9f3a5e
commit 660acede9e
4 changed files with 24 additions and 6 deletions

View file

@ -87,6 +87,9 @@ protected:
void activate_internal_undo_redo_stack(bool activate);
void set_cursor_type(TriangleSelector::CursorType);
virtual std::array<float, 4> get_cursor_sphere_left_button_color() const { return {0.f, 0.f, 1.f, 0.25f}; }
virtual std::array<float, 4> get_cursor_sphere_right_button_color() const { return {1.f, 0.f, 0.f, 0.25f}; }
float m_cursor_radius = 2.f;
static constexpr float CursorRadiusMin = 0.4f; // cannot be zero
static constexpr float CursorRadiusMax = 8.f;