fix: 修复sg报错

This commit is contained in:
yawn831831 committed 2025-06-24 23:01:35 +08:00
1 parent 4aac4cc1fc
commit fbe837fca9
1 file changed
-12
-12
View File
@@ -275,14 +275,6 @@ namespace SourceCodeGeneratorUbtPlugin
} }
} }
if (property is UhtObjectPtrProperty objectPtrProperty)
{
if (!IsClassTypeSupported(objectPtrProperty.Class))
{
return false;
}
}
if (property is UhtInterfaceProperty interfaceProperty) if (property is UhtInterfaceProperty interfaceProperty)
{ {
if (interfaceProperty.InterfaceClass == interfaceProperty.Session.IInterface) if (interfaceProperty.InterfaceClass == interfaceProperty.Session.IInterface)
@@ -463,10 +455,6 @@ namespace SourceCodeGeneratorUbtPlugin
DependencyClasses.Add(classProperty.MetaClass); DependencyClasses.Add(classProperty.MetaClass);
} }
} }
else if (property is UhtObjectPtrProperty objectPtrProperty)
{
DependencyClasses.Add(objectPtrProperty.Class);
}
else if (property is UhtObjectProperty objectProperty) else if (property is UhtObjectProperty objectProperty)
{ {
DependencyClasses.Add(objectProperty.Class); DependencyClasses.Add(objectProperty.Class);