Saving as palette format no longer shows warning about lyaer/anim support. Loading a single file in command-line makes the spare use the same mode (layer/anim), so that the menus don't move when you switch

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1951 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2012-05-08 18:55:17 +00:00
parent 2afad0b550
commit 93c4832138
2 changed files with 6 additions and 1 deletions

View File

@@ -969,7 +969,8 @@ void Save_image(T_IO_Context *context)
{
case CONTEXT_MAIN_IMAGE:
if (!File_formats[context->Format-1].Supports_layers
&& Main_backups->Pages->Nb_layers > 1)
&& Main_backups->Pages->Nb_layers > 1
&& !File_formats[context->Format-1].Palette_only)
{
if (Main_backups->Pages->Image_mode == IMAGE_MODE_ANIMATION)
{