5696 |
* @param bBypass - if true, the script slot will be skipped by the sampler |
* @param bBypass - if true, the script slot will be skipped by the sampler |
5697 |
* @see Script::Bypass |
* @see Script::Bypass |
5698 |
*/ |
*/ |
5699 |
void Instrument::SetScriptSlotBypassed(uint index, bool bBypass) { |
void Instrument::SetScriptSlotBypassed(size_t index, bool bBypass) { |
5700 |
if (index >= ScriptSlotCount()) return; |
if (index >= ScriptSlotCount()) return; |
5701 |
if (pScriptRefs) |
if (pScriptRefs) |
5702 |
pScriptRefs->at(index).bypass = bBypass; |
pScriptRefs->at(index).bypass = bBypass; |