Anim: Improved support of extreme durations (O included to 655.350s included); Adding frames now inherits parent's duration cleanly; Default duration now 100ms (instead of 1ms). Removed blanks in Time window and made tooltips more explicit for next/prev frame, thanks to 00ai99 for reporting.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1931 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -2636,8 +2636,10 @@ void Save_GIF(T_IO_Context * context)
|
||||
if (context->Type == CONTEXT_MAIN_IMAGE && Main_backups->Pages->Image_mode == IMAGE_MODE_ANIMATION)
|
||||
{
|
||||
// Animation frame
|
||||
int duration;
|
||||
GCE.Packed_fields=(2<<2)|(context->Background_transparent);
|
||||
GCE.Delay_time=Get_frame_duration(context)/10;
|
||||
duration=Get_frame_duration(context)/10;
|
||||
GCE.Delay_time=duration<0xFFFF?duration:0xFFFF;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user