Fix referent properties not being generated.

This commit is contained in:
Max 2021-09-05 04:25:46 -05:00
parent 1e5540d151
commit 8ab02cf2a2
2 changed files with 6 additions and 4 deletions

Binary file not shown.

View File

@ -668,11 +668,13 @@ namespace RobloxFiles
fieldName = "Bevel Roundness";
PropertyType propType = PropertyType.Unknown;
if (Property.Types.ContainsKey(fieldType))
propType = Property.Types[fieldType];
else if (fieldType.IsEnum)
if (fieldType.IsEnum)
propType = PropertyType.Enum;
else if (Property.Types.ContainsKey(fieldType))
propType = Property.Types[fieldType];
else if (typeof(Instance).IsAssignableFrom(fieldType))
propType = PropertyType.Ref;
if (propType != PropertyType.Unknown)
{