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/Source/Material
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
..
EditorMaterialComponent.cpp LYN-2537 engine assets (#254) 5 years ago
EditorMaterialComponent.h Initial commit 5 years ago
EditorMaterialComponentExporter.cpp Standardizing dialog button boxes across material editor and component 5 years ago
EditorMaterialComponentExporter.h Integrating up through commit 90f050496 5 years ago
EditorMaterialComponentInspector.cpp ATOM-15597 Accessing Material Instance Panel Crashes Editor 5 years ago
EditorMaterialComponentInspector.h Integrating up through commit 90f050496 5 years ago
EditorMaterialComponentSlot.cpp Hiding "Open Material" when material asset is assigned 5 years ago
EditorMaterialComponentSlot.h Integrating latest 47acbe8 5 years ago
EditorMaterialComponentUtil.cpp Integrating up through commit 90f050496 5 years ago
EditorMaterialComponentUtil.h Integrating up through commit 90f050496 5 years ago
EditorMaterialModelUvNameMapInspector.cpp Correctingtypo 5 years ago
EditorMaterialModelUvNameMapInspector.h Integrating latest 47acbe8 5 years ago
EditorMaterialSystemComponent.cpp Injecting --activateWindow every time new process sends command line 5 years ago
EditorMaterialSystemComponent.h ATOM-15439 Implement basic local socket and server for IPC in material editor and other tools 5 years ago
MaterialBrowserInteractions.cpp Double click launches Material Editor 5 years ago
MaterialBrowserInteractions.h Double click launches Material Editor 5 years ago
MaterialComponent.cpp Initial commit 5 years ago
MaterialComponent.h Initial commit 5 years ago
MaterialComponentConfig.cpp Integrating github/staging through commit ab87ed9 5 years ago
MaterialComponentController.cpp Integrating github/staging through commit ab87ed9 5 years ago
MaterialComponentController.h Integrating up through commit 90f050496 5 years ago
MaterialThumbnail.cpp ATOM-15370 Fix thumbnail scaling and sizing issues 5 years ago
MaterialThumbnail.h ATOM-15370 Fix thumbnail scaling and sizing issues 5 years ago