mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-22 07:40:00 +01:00
fx anim, include last frame position
This commit is contained in:
@@ -2084,7 +2084,7 @@ void on_curve_buttonstore_clicked(GtkWidget *widget, gpointer user_data )
|
|||||||
int end = get_nums( "curve_spinend" );
|
int end = get_nums( "curve_spinend" );
|
||||||
int start = get_nums( "curve_spinstart" );
|
int start = get_nums( "curve_spinstart" );
|
||||||
|
|
||||||
const int length = end - start;
|
const int length = end - start + 1;
|
||||||
|
|
||||||
|
|
||||||
if( (length) <= 0 || id <= 0 )
|
if( (length) <= 0 || id <= 0 )
|
||||||
|
|||||||
@@ -169,7 +169,7 @@ int keyframe_unpack( unsigned char *in, int len, int *entry, int lookup, int is
|
|||||||
in += (25);
|
in += (25);
|
||||||
|
|
||||||
unsigned char *ptr = in;
|
unsigned char *ptr = in;
|
||||||
for(i = start ; i < end; i ++ )
|
for(i = start ; i <= end; i ++ )
|
||||||
{
|
{
|
||||||
int value =
|
int value =
|
||||||
( ptr[0] | (ptr[1] << 8) | (ptr[2] << 16) | (ptr[3] << 24) );
|
( ptr[0] | (ptr[1] << 8) | (ptr[2] << 16) | (ptr[3] << 24) );
|
||||||
|
|||||||
Reference in New Issue
Block a user