MCPcopy Create free account
hub / github.com/begla/Intrinsic / onResourceTreePopulated

Method onResourceTreePopulated

IntrinsicEd/src/IntrinsicEdManagerWindowScript.cpp:66–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66void 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}

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.80

Tested by

no test coverage detected