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/AtomLyIntegration/CommonFeatures/Code
Chris Santora bffc72794b ATOM-15597 Accessing Material Instance Panel Crashes Editor
There were two issues fixed here. First, I broke the material inspector with my changes at 53188a12da which added support for hiding entire property groups. I'm not sure how this happened because I definitely tested the MaterialComponent's material inspector. Perhaps there was a bad merge or something otherwise got clobbered after testing and before committing. Anyway, this issue was I accidentally delete the code that prepared the list of material properties for functor processing.

The second issue was the MaterialFunctor class needs to return null when metadata can't be found; it was proceeding to dereference an end iterator.

Testing:
Successfully opened the material inspector through the MaterialComponent. Was able to change property flags in the inspector and see other properties change visibility as expected.
5 years ago
..
Include/AtomLyIntegration/CommonFeatures Merge main 5 years ago
Resources Add newlines to the end of all files 5 years ago
Source ATOM-15597 Accessing Material Instance Panel Crashes Editor 5 years ago
CMakeLists.txt Integrating github/staging through commit ab87ed9 5 years ago
atomlyintegration_commonfeatures_editor_files.cmake Legacy Mesh component removal 5 years ago
atomlyintegration_commonfeatures_files.cmake Legacy Mesh component removal 5 years ago
atomlyintegration_commonfeatures_public_files.cmake Integrating github/staging through commit 5f214be 5 years ago
atomlyintegration_commonfeatures_shared_files.cmake Initial commit 5 years ago