refactor Brush to be used in shared_ptr
This commit is contained in:
@@ -62,8 +62,7 @@ class CanvasModePen : public CanvasMode
|
||||
float m_camera_fov;
|
||||
float m_zoom_canvas = 1.f;
|
||||
float m_zoom_start;
|
||||
bool m_valid_brush = false;
|
||||
Brush m_brush;
|
||||
std::shared_ptr<Brush> m_brush;
|
||||
// resizing the tip
|
||||
bool m_resizing = false;
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user