Merge pull request #7 from yawn831/fixerror

fix: 修复sg报错
This commit is contained in:
crazytuzi authored and GitHub committed 2025-06-24 23:03:59 +08:00
commit bf9949b5cb
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 (interfaceProperty.InterfaceClass == interfaceProperty.Session.IInterface)
@@ -463,10 +455,6 @@ namespace SourceCodeGeneratorUbtPlugin
DependencyClasses.Add(classProperty.MetaClass);
}
}
else if (property is UhtObjectPtrProperty objectPtrProperty)
{
DependencyClasses.Add(objectPtrProperty.Class);
}
else if (property is UhtObjectProperty objectProperty)
{
DependencyClasses.Add(objectProperty.Class);