ATOM-14003 adding image thumbnails to material inspector properties

https://jira.agscollab.com/browse/ATOM-14003
This commit is contained in:
guthadam
2021-04-28 00:17:58 -05:00
parent 409489e938
commit 5cac07b4c1
6 changed files with 11 additions and 1 deletions
@@ -63,6 +63,7 @@ namespace AtomToolsFramework
AZStd::vector<AZStd::string> m_vectorLabels;
bool m_visible = true;
bool m_readOnly = false;
bool m_showThumbnail = false;
};
//! Wraps an AZStd::any value and configuration so that it can be displayed and edited in a ReflectedPropertyEditor.
@@ -141,6 +141,7 @@ namespace AtomToolsFramework
AddEditDataAttributeMemberFunction(AZ::Edit::Attributes::EnumValues, &DynamicProperty::GetEnumValues);
AddEditDataAttributeMemberFunction(AZ::Edit::Attributes::ChangeNotify, &DynamicProperty::OnDataChanged);
AddEditDataAttribute(AZ::Edit::Attributes::ShowProductAssetFileName, false);
AddEditDataAttribute(AZ_CRC_CE("Thumbnail"), m_config.m_showThumbnail);
switch (m_config.m_dataType)
{