mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Corrects groundplane assigned material in the example and editor levels
Assetifies GroundPlane's handling of it's material field
This commit is contained in:
parent
3821ddd15a
commit
fb5195dd44
4 changed files with 3 additions and 6 deletions
|
|
@ -144,7 +144,7 @@ bool GroundPlane::_setMaterialName(void* obj, const char* index, const char* dat
|
|||
//the TSStatic
|
||||
if (gp->setMaterialAsset(assetId))
|
||||
{
|
||||
if (assetId == StringTable->insert("Core_Rendering:noMaterial"))
|
||||
if (assetId == StringTable->insert("Core_Rendering:NoMaterial"))
|
||||
{
|
||||
gp->mMaterialName = data;
|
||||
gp->mMaterialAssetId = StringTable->EmptyString();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue