fix: 修复sg报错
This commit is contained in:
1 parent
4aac4cc1fc
commit
fbe837fca9
1 file changed
-12
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user