You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI
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>
4 years ago
..
ComponentPalette Added GetComponentTypeEditorIcon API and replaced old macro style ebus calls. 4 years ago
Outliner Remove redundant editor mode notifications. 4 years ago
AssetCatalogModel.cpp Fix asset type retrieval in AssetCatalogModel::GetAssetType (#4995) 4 years ago
AssetCatalogModel.h Fix asset type retrieval in AssetCatalogModel::GetAssetType (#4995) 4 years ago
QComponentEntityEditorMainWindow.cpp Merge branch 'development' into cmake/SPEC-7179 5 years ago
QComponentEntityEditorMainWindow.h Merge branch 'development' into cmake/SPEC-7179 5 years ago
QComponentEntityEditorOutlinerWindow.cpp Merge branch 'development' into cmake/SPEC-7179 5 years ago
QComponentEntityEditorOutlinerWindow.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
QComponentLevelEntityEditorMainWindow.cpp Merge branch 'development' into cmake/SPEC-7179 5 years ago
QComponentLevelEntityEditorMainWindow.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago