fix picker which crashed on resolution change, timelapse frame only when draw a stroke

This commit is contained in:
2018-06-05 19:40:27 +02:00
parent 376c6097d2
commit 361374deb0
4 changed files with 16 additions and 3 deletions

View File

@@ -99,6 +99,7 @@ void CanvasModePen::on_MouseEvent(MouseEvent* me, glm::vec2& loc)
glm::vec4 pix = canvas->pick_get(loc);
canvas->m_current_brush.m_tip_color = pix;
App::I.color->set_color(pix);
canvas->pick_end();
}
m_dragging = false;
m_picking = false;