ATOM-14065 fix problems with material editor details group property descriptions

Moved the code that automatically appended a script variable name to a property description out of the dynamic property class and into the material property conversion utility functions.

Added proper descriptions for the material type and parent material placeholder properties

https://jira.agscollab.com/browse/ATOM-14065
This commit is contained in:
guthadam
2021-05-03 00:13:45 -05:00
parent 781415755d
commit 9d0f9e9e3a
4 changed files with 18 additions and 7 deletions
@@ -211,10 +211,7 @@ namespace AtomToolsFramework
AZStd::string DynamicProperty::GetDescription() const
{
return AZStd::string::format("%s%s(Script Name = '%s')",
m_config.m_description.c_str(),
m_config.m_description.empty() ? "" : "\n",
m_config.m_id.GetCStr());
return m_config.m_description;
}
AZ::Crc32 DynamicProperty::GetVisibility() const