mirror of
https://github.com/4sval/FModel.git
synced 2026-04-13 13:06:38 -05:00
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:
parent
84df34b4dc
commit
fc71b8eea8
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user