Don't trim when set loop point
This commit is contained in:
parent
3b411cd14f
commit
3ab3774f92
|
@ -1240,8 +1240,11 @@ void FurnaceGUI::doAction(int what) {
|
||||||
e->lockEngine([this,sample]() {
|
e->lockEngine([this,sample]() {
|
||||||
SAMPLE_OP_BEGIN;
|
SAMPLE_OP_BEGIN;
|
||||||
|
|
||||||
sample->trim(0,end);
|
if (sample->loopMode==DIV_SAMPLE_LOOPMODE_ONESHOT) {
|
||||||
|
sample->loopMode=DIV_SAMPLE_LOOPMODE_FORWARD;
|
||||||
|
}
|
||||||
sample->loopStart=start;
|
sample->loopStart=start;
|
||||||
|
sample->loopEnd=end;
|
||||||
updateSampleTex=true;
|
updateSampleTex=true;
|
||||||
|
|
||||||
e->renderSamples();
|
e->renderSamples();
|
||||||
|
|
Loading…
Reference in New Issue