| 1409 | } |
| 1410 | |
| 1411 | void |
| 1412 | AppManager::loadAllPlugins() |
| 1413 | { |
| 1414 | assert( _imp->_plugins.empty() ); |
| 1415 | assert( _imp->_formats.empty() ); |
| 1416 | |
| 1417 | // Load plug-ins bundled into Natron |
| 1418 | loadBuiltinNodePlugins(&_imp->readerPlugins, &_imp->writerPlugins); |
| 1419 | |
| 1420 | // Load OpenFX plug-ins |
| 1421 | _imp->ofxHost->loadOFXPlugins( &_imp->readerPlugins, &_imp->writerPlugins); |
| 1422 | |
| 1423 | // Load PyPlugs and init.py & initGui.py scripts |
| 1424 | // Should be done after settings are declared |
| 1425 | loadPythonGroups(); |
| 1426 | |
| 1427 | _imp->_settings->restorePluginSettings(); |
| 1428 | |
| 1429 | |
| 1430 | onAllPluginsLoaded(); |
| 1431 | } |
| 1432 | |
| 1433 | void |
| 1434 | AppManager::onAllPluginsLoaded() |
nothing calls this directly
no test coverage detected