mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 16:14:38 +00:00
spline objects were mis-saving in submis files
classes using AbstractClassRep::FIELD_SpecialtyArrayField use an explicit-writing mechanism, rather than tying things to a variable 'slot', so don't try and concaenate the two
This commit is contained in:
parent
7b393b668b
commit
d6334f6cca
1 changed files with 4 additions and 0 deletions
|
|
@ -1541,6 +1541,10 @@ void PersistenceManager::updateObject(SimObject* object, ParsedObject* parentObj
|
||||||
|
|
||||||
newLines.push_back(createNewProperty(f->pFieldname, cmdBuf, f->elementCount > 1, j));
|
newLines.push_back(createNewProperty(f->pFieldname, cmdBuf, f->elementCount > 1, j));
|
||||||
}
|
}
|
||||||
|
else if (f->flag.test(AbstractClassRep::FIELD_SpecialtyArrayField))
|
||||||
|
{
|
||||||
|
newLines.push_back(value);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
newLines.push_back(createNewProperty(f->pFieldname, value, f->elementCount > 1, j));
|
newLines.push_back(createNewProperty(f->pFieldname, value, f->elementCount > 1, j));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue