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/Gems/Atom/RPI/Code/Source
santorac 3c331e00ff Moved the Material Component property override renaming to EditorMaterialComponent via ApplyAutomaticPropertyUpdates.
MaterialAssignment::ApplyProperties() still reports warnings but does not update the m_propertyOverrides.
MaterialAssignment::ApplyProperties() will now skip the old name'd overrides if overrides are present for the new names. I'm not sure if this will ever happen, but it did happen while I had some intermediate changes, so I imagine it could happen again.
I had to update the Material::FindPropertyIndex function to expose information about renames when they occur. This should make it easier for other systems to get (somewhat) automatic benefit from the version update feature.
I also found that there was an issue with material inspector where it wouldn't be initialized the the right override values when renames were present. Now it applies the renames to whatever override data it gets from the Material Component.

Signed-off-by: santorac <55155825+santorac@users.noreply.github.com>
4 years ago
..
Platform add shaderoptiongroup natvis (#3315) 4 years ago
RPI.Builders Updated MaterialTypeSourceData to force users to move the "version" indicator to the new location at the top level of the json document. 4 years ago
RPI.Edit Fixed an issue where the wrong version number was being reported in a warning message. It showed the latest version instead of the original version number. 4 years ago
RPI.Editor Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
RPI.Private Revert "Refresh rate driven rendering tick logic (#3375)" 4 years ago
RPI.Public Moved the Material Component property override renaming to EditorMaterialComponent via ApplyAutomaticPropertyUpdates. 4 years ago
RPI.Reflect Made material property auto-rename procedure apply to Material Component at runtime. This ensures that an material property overrides and any gameplay scripts that work with property overrides can get the benefit of the material type version update procedure. 4 years ago