add history to equirect import

This commit is contained in:
2019-06-26 14:48:23 +02:00
parent a15d3acaef
commit d4551ba647
7 changed files with 102 additions and 15 deletions

View File

@@ -1577,7 +1577,7 @@ void CanvasModeFloodFill::on_MouseEvent(MouseEvent* me, glm::vec2& loc)
virtual Action* get_redo() override
{
auto a = new ActionFloodFill;
a->m_direction = (Direction)(1 - (int)m_direction);
a->m_direction = reverse_direction();
a->m_layer = m_layer;
a->m_snap = m_snap;
a->m_pos = m_pos;