mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +00:00
crashfix: decal report when missing the DB entry was malformed
This commit is contained in:
parent
45f45ca974
commit
820cd5cb10
1 changed files with 1 additions and 1 deletions
|
|
@ -209,7 +209,7 @@ bool DecalDataFile::read( Stream &stream )
|
||||||
data->materialName = "WarningMaterial";
|
data->materialName = "WarningMaterial";
|
||||||
data->material = dynamic_cast<Material*>(Sim::findObject("WarningMaterial"));
|
data->material = dynamic_cast<Material*>(Sim::findObject("WarningMaterial"));
|
||||||
|
|
||||||
Con::errorf( "DecalDataFile::read() - DecalData %s does not exist! Temporarily created %s_missing.", lookupName.c_str() );
|
Con::errorf( "DecalDataFile::read() - DecalData %s does not exist! Temporarily created %s_missing.", lookupName.c_str(), lookupName.c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue