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 | auto existingPaths = _pathToItemMap.keys(); | 202 | auto existingPaths = _pathToItemMap.keys(); |
| 203 | for (auto& mapping : mappings) { | 203 | for (auto& mapping : mappings) { |
| 204 | auto& path = mapping.first; | 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 | auto parts = path.split("/"); | 212 | auto parts = path.split("/"); |
| 206 | auto length = parts.length(); | 213 | auto length = parts.length(); |
| 207 | 214 | ||