set self on mixing entry after clear

This commit is contained in:
niels
2015-04-09 19:52:43 +02:00
parent 247cdcdb26
commit 6cda35ec0a
2 changed files with 3 additions and 3 deletions

View File

@@ -2274,7 +2274,7 @@ int sample_chain_clear(int s1)
} }
} }
sample->effect_chain[i]->source_type = 0; sample->effect_chain[i]->source_type = 0;
sample->effect_chain[i]->channel = 0; sample->effect_chain[i]->channel = s1;
for (j = 0; j < SAMPLE_MAX_PARAMETERS; j++) for (j = 0; j < SAMPLE_MAX_PARAMETERS; j++)
sample->effect_chain[i]->arg[j] = 0; sample->effect_chain[i]->arg[j] = 0;
} }

View File

@@ -2714,8 +2714,8 @@ int vj_tag_chain_remove(int t1, int index)
tag->effect_chain[index]->kf = vpn(VEVO_ANONYMOUS_PORT); tag->effect_chain[index]->kf = vpn(VEVO_ANONYMOUS_PORT);
tag->effect_chain[index]->source_type = 0; tag->effect_chain[index]->source_type = 1;
tag->effect_chain[index]->channel = 0; tag->effect_chain[index]->channel = t1; //set to self
int j; int j;
for (j = 0; j < SAMPLE_MAX_PARAMETERS; j++) for (j = 0; j < SAMPLE_MAX_PARAMETERS; j++)