Issue 2052 - Crash when using the flip tool9420805525b086f47dea52b9c42bac2936361835
commit9420805525b086f47dea52b9c42bac2936361835
authorEll <ell_se@yahoo.com>
Mon, 20 Aug 2018 08:18:22 +0000 (20 04:18 -0400)
committerEll <ell_se@yahoo.com>
Mon, 20 Aug 2018 08:22:30 +0000 (20 04:22 -0400)
treef9bdf94ec6c7ce0e1cdf21faa1e1847947cd6f75
parent668fee966a6b94a8314e0d3ce0d11d4661bf613d
Issue 2052 - Crash when using the flip tool

In gimp_transform_tool_transform(), use "active_item", instead of
"tool->drawable", when cutting/pasting the selected portion of a
layer for transformation.  The latter is a remnant of the old
transform-tool code, and is not guaranteed to be correspond to the
correct drawable, or even to a valid drawable (i.e., it can
potentially produce wrong results, or segfault.)
app/tools/gimptransformtool.c