mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 16:14:38 +00:00
Adjusts the logic for when creating a simObject from a taml so that array elements(like material slots or sound asset slots) properly can handle prefixed field values, such as referencing loose asset files.
This commit is contained in:
parent
0db209e3dc
commit
92743f6fd8
1 changed files with 1 additions and 1 deletions
|
|
@ -560,7 +560,7 @@ void SimObject::onTamlCustomRead(TamlCustomNodes const& customNodes)
|
||||||
// Check common fields.
|
// Check common fields.
|
||||||
if (field)
|
if (field)
|
||||||
{
|
{
|
||||||
setDataField(fieldName, buf, cField->getFieldValue());
|
setPrefixedDataField(fieldName, buf, cField->getFieldValue());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue