Improvements. You can now call SetDecalMaterial() with any permutation and it works as expected
Signed-off-by: mrieggeramzn <mriegger@amazon.com>
This commit is contained in:
+1
-1
@@ -230,7 +230,7 @@ namespace AZ
|
||||
{
|
||||
DecalNotificationBus::Event(m_entityId, &DecalNotifications::OnMaterialChanged, m_configuration.m_materialAsset);
|
||||
|
||||
if (m_featureProcessor && m_configuration.m_materialAsset.GetId().IsValid())
|
||||
if (m_featureProcessor)
|
||||
{
|
||||
m_featureProcessor->SetDecalMaterial(m_handle, m_configuration.m_materialAsset.GetId());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user