Adds automation flipping.

Implements #1289.
On 12/30/2014 09:02 PM, Spekular wrote:
>
> In src/core/AutomationPattern.cpp
> <https://github.com/LMMS/lmms/pull/1486#discussion-diff-22359652>:
>
> > +		numPoints++;
> > +	}
> > +
> > +	float realLength = ( iterate + numPoints ).key();
> > +
> > +	if ( length != -1 && length != realLength)
> > +	{
> > +		if ( realLength < length )
> > +		{
> > +			tempValue = valueAt( ( iterate + numPoints ).key() );
> > +			putValue( MidiTime( length ) , tempValue, false);
> > +			numPoints++;
> > +			for( int i = 0; i <= numPoints; i++ )
> > +			{
> > +				tempValue = valueAt( ( iterate + i ).key() );
> > +				cleanObjects();
> @Vesa <https://github.com/Vesa> I'm not entirely sure, I don't recall
> adding it.


Then it should be removed.