Browse Source

Oops. Forgot to add default note-filter settings. Done.

master
waxfrenzy 22 years ago
parent
commit
41a4ebe418
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      SpiralSound/Plugins/NoteSnapPlugin/NoteSnapPlugin.C

+ 7
- 1
SpiralSound/Plugins/NoteSnapPlugin/NoteSnapPlugin.C View File

@@ -129,7 +129,13 @@ void NoteSnapPlugin::StreamOut(ostream &s)
void NoteSnapPlugin::StreamIn(istream &s)
{
// Pre-version 1 - check for blank line
if (s.peek() != 10) {
if (s.peek() == 10) {
for (int n=0; n<12; n++)
{
// Use default (no notes filtered)
m_Filter[n] = 1;
}
} else {
int version;
s>>version;
for (int n=0; n<12; n++)


Loading…
Cancel
Save