[gimp/gimp-2-10] app: fix CRITICAL when translating selected content
- From: Ell <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] app: fix CRITICAL when translating selected content
- Date: Wed, 2 Oct 2019 15:38:21 +0000 (UTC)
commit 862821b98fc61eaecf4b906a38ee6cfcfb9f94f0
Author: Ell <ell_se yahoo com>
Date: Wed Oct 2 18:33:27 2019 +0300
app: fix CRITICAL when translating selected content
Fix a CRITICAL when creating a floating selection by Alt-dragging a
selection using one of the selection tools.
(cherry picked from commit 1e9bf288ba958713ba051886428c77ce8d903357)
app/tools/gimpeditselectiontool.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/app/tools/gimpeditselectiontool.c b/app/tools/gimpeditselectiontool.c
index c18a353575..0532bc8c3a 100644
--- a/app/tools/gimpeditselectiontool.c
+++ b/app/tools/gimpeditselectiontool.c
@@ -596,6 +596,8 @@ gimp_edit_selection_tool_update_motion (GimpEditSelectionTool *edit_select,
edit_select->live_items = g_list_prepend (NULL, active_item);
+ gimp_viewable_preview_freeze (GIMP_VIEWABLE (active_item));
+
gimp_item_start_transform (active_item, TRUE);
/* fallthru */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]