Files
o3de/Gems
Chris Santora 6cd86619ff Merge pull request #860 from aws-lumberyard-dev/Atom/santorac/MaterialInspectorCrash-ATOM-15597
ATOM-15597 Accessing Material Instance Panel Crashes Editor

There were two issues fixed here. First, I broke the material inspector with my changes at 53188a1 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.
2021-05-21 08:17:31 -07:00
..
2021-03-26 09:26:12 -07:00
2021-03-25 13:57:57 -07:00
2021-04-28 21:38:43 -05:00
2021-05-20 17:08:18 -07:00