| 7314 | } |
| 7315 | |
| 7316 | void ScriptingApi::Content::sendRebuildMessage() |
| 7317 | { |
| 7318 | for (int i = 0; i < rebuildListeners.size(); i++) |
| 7319 | { |
| 7320 | if (rebuildListeners[i] != nullptr) |
| 7321 | { |
| 7322 | rebuildListeners[i]->contentWasRebuilt(); |
| 7323 | } |
| 7324 | else |
| 7325 | { |
| 7326 | rebuildListeners.remove(i--); |
| 7327 | } |
| 7328 | } |
| 7329 | |
| 7330 | auto p = dynamic_cast<Processor*>(getScriptProcessor()); |
| 7331 | |
| 7332 | auto b = p->getMainController()->getScriptComponentEditBroadcaster(); |
| 7333 | |
| 7334 | if (b->isBeingEdited(p)) |
| 7335 | { |
| 7336 | debugToConsole(p, "Updated UI Data"); |
| 7337 | } |
| 7338 | |
| 7339 | b->clearSelection(); |
| 7340 | } |
| 7341 | |
| 7342 | void ScriptingApi::Content::setValuePopupData(var jsonData) |
| 7343 | { |
no test coverage detected