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 c6b209ace0 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.
I added an ApplyPropertyRenames function to MaterialTypeAsset very similar to the one in MaterialTypeSourceData.
Updated the MaterialAssignment class to apply any property renames when it discovers the old name doesn't work. This will be written to disk when the level or prefab is saved.

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 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
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