mirror of https://github.com/GNOME/gimp.git
fix for merging indexed and indexed alpha images (from raph)
-Yosh
This commit is contained in:
parent
dabaf0c8e1
commit
488c4c9851
|
@ -1,3 +1,7 @@
|
|||
Sun May 17 14:44:32 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* app/gimage.c: fix for merging indexed and indexed-alpha layers
|
||||
|
||||
Sun May 17 14:02:44 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* app/app_procs.c: reverted the splash screen idle loop changes
|
||||
|
|
|
@ -1949,7 +1949,8 @@ gimage_merge_layers (GImage *gimage, GSList *merge_list, MergeType merge_type)
|
|||
/* Start a merge undo group */
|
||||
undo_push_group_start (gimage, LAYER_MERGE_UNDO);
|
||||
|
||||
if (merge_type == FlattenImage)
|
||||
if (merge_type == FlattenImage ||
|
||||
!layer_has_alpha (layer))
|
||||
{
|
||||
switch (gimage_base_type (gimage))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue