mirror of
https://github.com/izzy2lost/Torch.git
synced 2026-07-06 00:18:35 -07:00
Skipped autogenerated assets
This commit is contained in:
@@ -795,6 +795,10 @@ std::optional<std::vector<std::tuple<std::string, YAML::Node>>> Companion::GetNo
|
||||
for(auto& [addr, tpl] : this->gAddrMap[this->gCurrentFile]){
|
||||
auto [name, node] = tpl;
|
||||
const auto n_type = GetSafeNode<std::string>(node, "type");
|
||||
if(node["autogen"]){
|
||||
SPDLOG_DEBUG("Skipping autogenerated asset {}", name);
|
||||
continue;
|
||||
}
|
||||
if(n_type == type){
|
||||
nodes.push_back(tpl);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user