| 319 | } |
| 320 | |
| 321 | bool ScriptModulationMatrix::connect(String sourceId, String targetId, bool addConnection) |
| 322 | { |
| 323 | if (um == nullptr) |
| 324 | { |
| 325 | return connectInternal(sourceId, targetId, addConnection); |
| 326 | } |
| 327 | else |
| 328 | { |
| 329 | auto at = addConnection ? MatrixUndoAction::ActionType::Add : MatrixUndoAction::ActionType::Remove; |
| 330 | |
| 331 | return um->perform(new MatrixUndoAction(this, at, {}, {}, sourceId, targetId)); |
| 332 | } |
| 333 | } |
| 334 | |
| 335 | float ScriptModulationMatrix::getModValue(var component) |
| 336 | { |
no test coverage detected