Reenable Blast Automated tests (#42)
Co-authored-by: Ulugbek Adilbekov <ulugbek@amazon.com>
This commit is contained in:
committed by
GitHub
parent
3d3f43b0b9
commit
ebebc05cd1
@@ -179,7 +179,7 @@ namespace Blast
|
||||
|
||||
void EditorBlastMeshDataComponent::RegisterModel()
|
||||
{
|
||||
if (m_meshFeatureProcessor && m_meshAssets[0].GetId().IsValid())
|
||||
if (m_meshFeatureProcessor && !m_meshAssets.empty() && m_meshAssets[0].GetId().IsValid())
|
||||
{
|
||||
AZ::Render::MaterialAssignmentMap materials;
|
||||
AZ::Render::MaterialComponentRequestBus::EventResult(
|
||||
|
||||
Reference in New Issue
Block a user