Fix ExtractNodeProperties to use GenericValue for clean property values

FPropertyTagType.ToString() returns "Value (TypeName)" format, including
extra type information. Using GenericValue?.ToString() returns just the
raw value, which fixes property value extraction and root node detection.

Co-authored-by: LoogLong <86428208+LoogLong@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-03-02 07:11:08 +00:00
parent 84df34b4dc
commit fc71b8eea8

View File

@ -344,7 +344,7 @@ public class AnimGraphViewModel
foreach (var prop in structValue.Properties)
{
var name = prop.Name.Text;
var value = prop.Tag?.ToString() ?? string.Empty;
var value = prop.Tag?.GenericValue?.ToString() ?? string.Empty;
switch (name)
{