Skip to content

Commit

Permalink
Merge pull request #2 from Saarli/appleseedhq#1788-Defining_crop_regi…
Browse files Browse the repository at this point in the history
…on_with_mouse_doesn't_mark_project_as_modified

correct project modified when crop region changes
  • Loading branch information
starseeker authored Sep 16, 2023
2 parents 6324010 + 0e6fb83 commit b7eaedc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/appleseed.studio/mainwindow/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1909,6 +1909,8 @@ void MainWindow::slot_clear_render_region()
else clear_render_region_action->operator()(*m_project_manager.get_project());

m_rendering_manager.reinitialize_rendering();

slot_project_modified();
}

void MainWindow::slot_set_render_region(const QRect& rect)
Expand All @@ -1928,6 +1930,8 @@ void MainWindow::slot_set_render_region(const QRect& rect)
m_rendering_manager.schedule(std::move(set_render_region_action));
m_rendering_manager.reinitialize_rendering();
}

slot_project_modified();
}

void MainWindow::slot_render_widget_context_menu(const QPoint& point)
Expand Down

0 comments on commit b7eaedc

Please sign in to comment.