GUI: notify wave change when using wave editor
This commit is contained in:
parent
8c551afd83
commit
4dec0e52a5
|
@ -153,6 +153,8 @@ void FurnaceGUI::doGenerateWave() {
|
||||||
if (finalResult[i]>1.0f) finalResult[i]=1.0f;
|
if (finalResult[i]>1.0f) finalResult[i]=1.0f;
|
||||||
wave->data[i]=round(finalResult[i]*wave->max);
|
wave->data[i]=round(finalResult[i]*wave->max);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
e->notifyWaveChange(curWave);
|
||||||
}
|
}
|
||||||
|
|
||||||
#define CENTER_TEXT(text) \
|
#define CENTER_TEXT(text) \
|
||||||
|
|
Loading…
Reference in New Issue