| 64 | } |
| 65 | |
| 66 | void IntrinsicEdManagerWindowScript::onResourceTreePopulated() |
| 67 | { |
| 68 | QStringList files = _scriptChangeWatch->files(); |
| 69 | |
| 70 | if (!files.empty()) |
| 71 | _scriptChangeWatch->removePaths(files); |
| 72 | |
| 73 | for (uint32_t i = 0u; i < Resources::ScriptManager::getActiveResourceCount(); |
| 74 | ++i) |
| 75 | { |
| 76 | Resources::ScriptRef ref = |
| 77 | Resources::ScriptManager::getActiveResourceAtIndex(i); |
| 78 | _scriptChangeWatch->addPath( |
| 79 | _scriptPath + |
| 80 | Resources::ScriptManager::_descScriptFileName(ref).c_str()); |
| 81 | } |
| 82 | } |