fix debug build with vs2017
This commit is contained in:
@@ -580,7 +580,8 @@ void ui::Canvas::stroke_start(glm::vec2 point, float pressure, const ui::Brush&
|
||||
}
|
||||
|
||||
m_current_stroke = std::make_unique<Stroke>();
|
||||
m_current_stroke->m_camera = { m_cam_rot, m_cam_fov };
|
||||
m_current_stroke->m_camera.rot = m_cam_rot;
|
||||
m_current_stroke->m_camera.fov = m_cam_fov;
|
||||
m_current_stroke->start(brush);
|
||||
m_current_stroke->add_point(point, pressure);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user