Fixed memory stomping leading to Track View nodes with invalid labels and crash.

Signed-off-by: Chris Galvan <chgalvan@amazon.com>
This commit is contained in:
Chris Galvan
2021-08-24 15:29:00 -05:00
parent cd9621f16e
commit 306a7a622d
5 changed files with 20 additions and 16 deletions
@@ -82,7 +82,7 @@ const char* CAnimNode::GetParamName(const CAnimParamType& paramType) const
SParamInfo info;
if (GetParamInfoFromType(paramType, info))
{
return info.name;
return info.name.c_str();
}
return "Unknown";