MCPcopy Create free account
hub / github.com/benkuper/Chataigne / setupFromManualCreation

Method setupFromManualCreation

Source/Module/modules/osc/OSCModule.cpp:459–467  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

457
458
459void OSCModule::setupFromManualCreation()
460{
461 if (outputManager != nullptr && outputManager->items.isEmpty())
462 {
463 OSCOutput* o = outputManager->addItem(nullptr, var(), false);
464 o->remotePort->setValue(defaultRemotePort);
465 if (!Engine::mainEngine->isLoadingFile) setupSenders();
466 }
467}
468
469void OSCModule::loadJSONDataInternal(var data)
470{

Callers 1

addItemFromMenuMethod · 0.45

Calls 2

isEmptyMethod · 0.80
setValueMethod · 0.45

Tested by

no test coverage detected