Painter gizmos: only render the circle cursor when the pointer is on the mesh

It does not paint otherwise, let the user know by not drawing it.
This commit is contained in:
Lukas Matena 2020-10-12 14:45:57 +02:00
parent 5356b72a86
commit 92b2d624a4
2 changed files with 24 additions and 24 deletions

View file

@ -78,7 +78,7 @@ protected:
void render_triangles(const Selection& selection) const;
void render_cursor() const;
void render_cursor_circle() const;
void render_cursor_sphere() const;
void render_cursor_sphere(const Transform3d& trafo) const;
virtual void update_model_object() const = 0;
virtual void update_from_model_object() = 0;
void activate_internal_undo_redo_stack(bool activate);