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 (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);
|
||||||
|
|||||||
Reference in new issue
Block a user