mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Improve type detection of EngineAPI types
This commit is contained in:
parent
a7f3724dd1
commit
f4c8e2683e
|
|
@ -514,7 +514,12 @@ static void exportType(const EngineTypeInfo* type, SimXMLDocument* xml)
|
|||
ConsoleBaseType *cbt = ConsoleBaseType::getType(property.getType());
|
||||
if (cbt != NULL)
|
||||
{
|
||||
xml->setAttribute("type", cbt->getTypeClassName());
|
||||
if (cbt->getTypeInfo() != NULL) {
|
||||
xml->setAttribute("type", cbt->getTypeInfo()->getTypeName());
|
||||
}
|
||||
else {
|
||||
xml->setAttribute("type", cbt->getTypeClassName());
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue