| 436 | } |
| 437 | |
| 438 | bool ScriptModulationMatrix::updateValueMode(String source, String target, String valueMode) |
| 439 | { |
| 440 | if(um == nullptr) |
| 441 | return updateValueModeInternal(source, target, valueMode); |
| 442 | else |
| 443 | { |
| 444 | auto oldValue = getValueModeData(source, target)[scriptnode::PropertyIds::Value]; |
| 445 | var newValue(valueMode); |
| 446 | |
| 447 | return um->perform(new MatrixUndoAction(this, MatrixUndoAction::ActionType::ValueMode, oldValue, newValue, source, target)); |
| 448 | } |
| 449 | } |
| 450 | |
| 451 | |
| 452 | String ScriptModulationMatrix::toBase64() |
no test coverage detected