Timeline: Fix bug start cels movement with right-click

This commit is contained in:
David Capello 2014-05-02 11:56:18 -03:00
parent f60d1c5c4f
commit 049affae65

View File

@ -371,9 +371,10 @@ bool Timeline::onProcessMessage(Message* msg)
// Change the scroll to show the new selected cel.
showCel(m_clk_layer, m_frame);
m_state = STATE_SELECTING_CELS;
if (selectCel)
if (selectCel) {
m_state = STATE_SELECTING_CELS;
m_range.startRange(m_clk_layer, m_clk_frame, Range::kCels);
}
invalidate();
break;
}