Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /storage/content/49/145849/famitracker.com/public_html/forum/classes/dbHandler.php on line 29
Copy/paste can produce weird results if the location you are copying from includes a row with a D00 effect but the selection does not include the actual effect column. It's like FT continues to paste rows after it containing junk data.
Exact steps to reproduce this are a little fuzzy, but go something like this:
0 - See attached file. Note the D00 command at frame 00, row 0F.
1 - Go to frame 00, select (via keyboard) rows 0C thru 0F, Note and Instrument columns only, and Copy.
2 - Go to frame 01, row 00, and Paste. All good so far, right?
3 - Now, on frame 00 again, select only row 0F (Note and Instrument columns only), and Copy.
4 - Move to frame 01, row 00, and Paste.
5 - You should end up seeing something like this:
[quote=]00 : F-3 00 . ...
01 : . . . 00 . ...
02 : . . . 00 . ...
03 : [color=red](invalid)
04 : . . . 00 . ...
05 : [color=red](invalid)
06 : . . . 00 . ...
07 : [color=red](invalid)
08 : . . . 00 . ...
09 : [color=red](invalid)
0A : [color=red](invalid)
0B : [color=red](invalid)
.
.
.[/quote]
Even though we only copied one row this time, FT pasted an entire frame's worth of junk data (and did so over the original notes).
4 - If you don't, repeat the above steps with different selection lengths (e.g. rows 0E-0F, 0C-0F, etc), each one including row 0F (and NOT the effect column). It seems related to making several copy/pastes of different sizes, and it makes no difference if the channel contains data past the D00 row.
_______________________
Where to find me:
YouTube: [url=http://youtube.com/user/stratelier]http://youtube.com/user/stratelier
DeviantArt: [url=http://stratadrake.deviantart.com/]http://stratadrake.deviantart.com/
I tried this in both 0.4.4 and 0.4.2 but couldn't reproduce it, all I got was one row as expected. Do you make the selection in any particular way? Keyboard or mouse?
This problem might be serious though, as copying invalid pattern data might result in a crash.
--
Ok I managed to reproduce it now, by selecting with keyboard and wrapping over to the next pattern and then back again. I'll look at this.
[quote=jsr]Ok I managed to reproduce it now, by selecting with keyboard and wrapping over to the next pattern and then back again. I'll look at this.[/quote]
Okay, yeah, I did fail to mention that this was using the keyboard to create selections and maneuver (didn't anticipate it would be a significant detail).
_______________________
Where to find me:
YouTube: [url=http://youtube.com/user/stratelier]http://youtube.com/user/stratelier
DeviantArt: [url=http://stratadrake.deviantart.com/]http://stratadrake.deviantart.com/