Revert "Issue #15824: better detect the first filter."
This reverts commit 75e665f0ed.
In fact, this commit was wrong too and was creating new issues with
pass-through group layers. See #15956.
This commit is contained in:
parent
755642e76a
commit
0074bef0ea
1 changed files with 2 additions and 6 deletions
|
|
@ -1429,12 +1429,8 @@ gimp_drawable_filter_sync_region (GimpDrawableFilter *filter)
|
|||
filters = gimp_drawable_get_filters (filter->drawable);
|
||||
|
||||
/* The first test is because the filter might not be added yet. */
|
||||
if (GIMP_LIST (filters)->queue->tail == NULL)
|
||||
{
|
||||
first_filter = TRUE;
|
||||
}
|
||||
else if (GIMP_LIST (filters)->queue->tail != NULL &&
|
||||
filter == GIMP_LIST (filters)->queue->tail->data)
|
||||
if (GIMP_LIST (filters)->queue->tail != NULL &&
|
||||
filter == GIMP_LIST (filters)->queue->tail->data)
|
||||
{
|
||||
GimpDrawableFilter *next_filter = NULL;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue