Removed unnecessary MaterialSourceData::Property class.

This wrapper used to be needed in order to bind the custom JsonMaterialPropertyValueSerializer back when property values were represented by AZStd::any. Now that property values have a custom MaterialPropertyValue type, the wrapper class is no longer needed.

Signed-off-by: santorac <55155825+santorac@users.noreply.github.com>
This commit is contained in:
santorac
2022-02-03 14:58:03 -08:00
parent d88fc40157
commit 4bb93e4c94
7 changed files with 66 additions and 77 deletions
@@ -150,7 +150,7 @@ namespace AZ
// TODO: Support populating the Material Editor with nested property groups, not just the top level.
const AZStd::string groupName = propertyId.GetStringView().substr(0, propertyId.GetStringView().size() - propertyDefinition->GetName().size() - 1);
exportData.m_properties[groupName][propertyDefinition->GetName()].m_value = propertyValue;
exportData.m_properties[groupName][propertyDefinition->GetName()] = propertyValue;
return true;
});