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
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
..
Objects Code/Editor 5 years ago
Tests Merge branch 'development' into cmake/SPEC-7179 5 years ago
UI Fix asset type retrieval in AssetCatalogModel::GetAssetType (#4995) 4 years ago
CMakeLists.txt Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ComponentEntityEditorPlugin.cpp Remove ResourceSelectorHost and clean up/refactor related bits (#3050) 5 years ago
ComponentEntityEditorPlugin.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ComponentEntityEditorPlugin.mf git mv Code\Sandbox\Plugins Code/Editor/Plugins 5 years ago
SandboxIntegration.cpp Added GetComponentTypeEditorIcon API and replaced old macro style ebus calls. 4 years ago
SandboxIntegration.h Added GetComponentTypeEditorIcon API and replaced old macro style ebus calls. 4 years ago
componententityeditorplugin_files.cmake Merge branch 'development' into cmake/SPEC-7179 5 years ago
componententityeditorplugin_test_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
dllmain.cpp Merge branch 'development' into cmake/SPEC-7179 5 years ago