Save transparent background of Brushes

see http://pulkomandy.tk/projects/GrafX2/ticket/70
This commit is contained in:
Thomas Bernard
2018-01-30 21:32:33 +01:00
parent 84242cef78
commit bd581c7a90
2 changed files with 3 additions and 4 deletions

View File

@@ -3210,7 +3210,7 @@ void Save_GIF(T_IO_Context * context)
}
else
{
// Layered image
// Layered image or brush
disposal_method = DISPOSAL_METHOD_DO_NOT_DISPOSE;
if (current_layer==0)
GCE.Packed_fields=(disposal_method<<2)|(context->Background_transparent);