diff options
Diffstat (limited to 'src/Companion.cpp')
| -rw-r--r-- | src/Companion.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Companion.cpp b/src/Companion.cpp index 81044b3..b95566c 100644 --- a/src/Companion.cpp +++ b/src/Companion.cpp @@ -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); } |
