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
Guthrie Adams 3bca63bb71 Temporary fix for material component losing image overrides with prefabs
The bug reported that overridden texture properties would be lost whenever an entity was created, destroyed, or a prefab was created. Initially, it seemed like there was a problem with the custom JSON serializer for material properties. Debugging proved this to be incorrect because all of the data was converted to JSON values in the serializer on multiple passes. At some point during prefab patching, the data for the asset properties is lost while other values like colors and floats serialize correctly. Converting the asset data values into asset IDs resolves the immediate problem for the material component but the underlying issue is still under investigation by the prefab team. This change is being posted for review in case the underlying issue cannot be resolved in time for the next release.

Signed-off-by: Guthrie Adams <guthadam@amazon.com>

Fixing unittests and moving texture conversion into material component controller

Signed-off-by: Guthrie Adams <guthadam@amazon.com>
4 years ago
..
3rdParty/ACES Overhaul of LookModification (#3282) 5 years ago
Include/Atom/Feature Removed preview image setting from model presets 4 years ago
Mocks Addressed PR feedback 4 years ago
Source Temporary fix for material component losing image overrides with prefabs 4 years ago
Tests Atom/mriegger/decalnormalmaps (#4302) 4 years ago
CMakeLists.txt Add cmake file for editor scripts. Add constexpr keyword to constants. Use AZ_CRC_CE for LookModificationComponent. 4 years ago
atom_feature_common_builders_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
atom_feature_common_editor_files.cmake Terrain feature processor improvements regarding material, mesh, and lod (#4303) 4 years ago
atom_feature_common_files.cmake Added a frame delay before activating SSR, several visual quality improvements 4 years ago
atom_feature_common_public_files.cmake Editor HDR Color Grading Component implemented under the PostFx stack (#4159) 4 years ago
atom_feature_common_shared_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
atom_feature_common_staticlibrary_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
atom_feature_common_tests_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago