Corrects groundplane assigned material in the example and editor levels

Assetifies GroundPlane's handling of it's material field
This commit is contained in:
Areloch 2020-12-19 01:43:52 -06:00
parent 3821ddd15a
commit fb5195dd44
4 changed files with 3 additions and 6 deletions

View file

@ -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();