- if(!next && !previous) return ((FloatAuto*)default_auto)->get_value();
- if(!previous) return next->get_value();
- if(!next) return previous->get_value();
- if(next == previous) return previous->get_value();
-
- if(direction == PLAY_FORWARD)
- {
- if(EQUIV(previous->get_value(), next->get_value())) {
+ if( !next && !previous )
+ return ((FloatAuto*)default_auto)->get_value();
+ if( next == previous )
+ return previous->get_value();
+
+ if( direction == PLAY_FORWARD) {
+ if( !previous ) return next->get_value(1);
+ if( !next ) return previous->get_value(0);
+ if( EQUIV(previous->get_value(0), next->get_value(1)) ) {