Showing the changes to interface/src/scripting/AssetMappingsScriptingInterface.cpp (1 of 2 files). Show all
Unified · Split
| @@ -202,6 +202,13 @@ void AssetMappingModel::refresh() { · 201 unmodified lines | ||
| 202 | 202 | auto existingPaths = _pathToItemMap.keys(); |
| 203 | 203 | for (auto& mapping : mappings) { |
| 204 | 204 | auto& path = mapping.first; |
| 205 | + | |
| 206 | + const QString HIDDEN_BAKED_CONTENT_FOLDER = "/.baked/"; | |
| 207 | + if (path.startsWith(HIDDEN_BAKED_CONTENT_FOLDER)) { | |
| 208 | + // Hide baked mappings | |
| 209 | + continue; | |
| 210 | + } | |
| 211 | + | |
| 205 | 212 | auto parts = path.split("/"); |
| 206 | 213 | auto length = parts.length(); |
| 207 | 214 | |