Files
o3de/Code/Editor
Artur K 2dff26ddb5 Fix asset type retrieval in AssetCatalogModel::GetAssetType (#4995)
* Fix asset type retrieval in AssetCatalogModel::GetAssetType

Previous logic would visit the next entry in m_extensionToAssetType map, if the previous entry had multiple types
 was only exiting the inner loop.

The main change is that now the first found matching asset type is returned.

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Apply reviewer's suggestions + reduce allocations.

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>
2021-11-01 14:51:15 +00:00
..
2021-09-03 13:27:31 -07:00
2021-10-05 15:12:53 -05:00
2021-08-25 14:06:26 -07:00
2021-09-10 20:15:16 -07:00
2021-08-30 14:40:02 -06:00
2021-08-16 16:42:30 -07:00
2021-08-20 17:53:14 -07:00
2021-09-07 12:14:16 -06:00
2021-08-16 16:42:30 -07:00
2021-09-10 20:15:16 -07:00
2021-09-10 20:15:16 -07:00
2021-09-10 20:15:16 -07:00
2021-09-10 20:15:16 -07:00
2021-09-10 20:15:16 -07:00
2021-09-03 13:27:31 -07:00
2021-08-16 16:42:30 -07:00
2021-10-18 12:42:00 +01:00
2021-10-18 12:42:00 +01:00
2021-08-16 16:42:30 -07:00
2021-08-23 13:00:27 -07:00
2021-08-16 16:42:30 -07:00
2021-07-02 12:42:44 -05:00
2021-08-25 15:04:38 -06:00
2021-09-07 12:14:16 -06:00
2021-09-10 20:15:16 -07:00
2021-08-20 17:53:14 -07:00
2021-08-23 13:00:27 -07:00
2021-08-20 17:53:14 -07:00
2021-09-10 20:15:16 -07:00
2021-09-03 13:27:31 -07:00
2021-08-16 16:42:30 -07:00
2021-08-25 15:04:38 -06:00
2021-08-16 16:42:30 -07:00
2021-09-10 20:15:16 -07:00
2021-09-10 20:15:16 -07:00
2021-10-06 13:01:49 +01:00
2021-10-07 17:21:45 +01:00
2021-08-02 17:56:56 -07:00
2021-09-10 20:15:16 -07:00
2021-08-25 15:04:38 -06:00
2021-08-20 17:53:14 -07:00
2021-09-10 20:15:16 -07:00
2021-08-20 17:53:14 -07:00
2021-08-16 16:42:30 -07:00
2021-09-10 20:15:16 -07:00
2021-08-05 10:50:29 -04:00
2021-08-20 17:53:14 -07:00
2021-10-11 14:28:27 +01:00
2021-09-29 09:58:04 -07:00
2021-08-16 16:42:05 -07:00