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/Feature/Common/Code/Source/Material
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
..
ConvertEmissiveUnitFunctor.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ConvertEmissiveUnitFunctor.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ConvertEmissiveUnitFunctorSourceData.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ConvertEmissiveUnitFunctorSourceData.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
DrawListFunctor.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
DrawListFunctor.h Gems/Atom 4 years ago
DrawListFunctorSourceData.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
DrawListFunctorSourceData.h Gems/Atom 4 years ago
MaterialAssignment.cpp Moved the Material Component property override renaming to EditorMaterialComponent via ApplyAutomaticPropertyUpdates. 4 years ago
MaterialAssignmentId.cpp Fixed the MaterialAssignmentId version converter to properly handle the default material assignment slot. 4 years ago
MaterialAssignmentSerializer.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
MaterialAssignmentSerializer.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
MaterialConverterSystemComponent.cpp Add material property names to material assets, disable FBX dependency on materialtype files. (#3408) 4 years ago
MaterialConverterSystemComponent.h Add material property names to material assets, disable FBX dependency on materialtype files. (#3408) 4 years ago
SubsurfaceTransmissionParameterFunctor.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
SubsurfaceTransmissionParameterFunctor.h Gems/Atom 4 years ago
SubsurfaceTransmissionParameterFunctorSourceData.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
SubsurfaceTransmissionParameterFunctorSourceData.h Gems/Atom 4 years ago
Transform2DFunctor.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
Transform2DFunctor.h Gems/Atom 4 years ago
Transform2DFunctorSourceData.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
Transform2DFunctorSourceData.h Gems/Atom 4 years ago
UseTextureFunctor.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
UseTextureFunctor.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
UseTextureFunctorSourceData.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
UseTextureFunctorSourceData.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago