fx anim, include last frame position

This commit is contained in:
niels
2015-01-11 17:34:34 +01:00
parent 91bf9d1cb0
commit e65763d6fe
2 changed files with 2 additions and 2 deletions

View File

@@ -2084,7 +2084,7 @@ void on_curve_buttonstore_clicked(GtkWidget *widget, gpointer user_data )
int end = get_nums( "curve_spinend" );
int start = get_nums( "curve_spinstart" );
const int length = end - start;
const int length = end - start + 1;
if( (length) <= 0 || id <= 0 )

View File

@@ -169,7 +169,7 @@ int keyframe_unpack( unsigned char *in, int len, int *entry, int lookup, int is
in += (25);
unsigned char *ptr = in;
for(i = start ; i < end; i ++ )
for(i = start ; i <= end; i ++ )
{
int value =
( ptr[0] | (ptr[1] << 8) | (ptr[2] << 16) | (ptr[3] << 24) );