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:
AzaezelX 2025-01-16 15:35:39 -06:00
parent 7b393b668b
commit d6334f6cca

View file

@ -1541,6 +1541,10 @@ void PersistenceManager::updateObject(SimObject* object, ParsedObject* parentObj
newLines.push_back(createNewProperty(f->pFieldname, cmdBuf, f->elementCount > 1, j));
}
else if (f->flag.test(AbstractClassRep::FIELD_SpecialtyArrayField))
{
newLines.push_back(value);
}
else
newLines.push_back(createNewProperty(f->pFieldname, value, f->elementCount > 1, j));
}