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

View file

@ -36,7 +36,7 @@ new Scene(EditorTemplateLevel) {
squareSize = "128";
scaleU = "25";
scaleV = "25";
Material = "Grid_512_Grey";
Material = "FloorGray";
canSave = "1";
canSaveDynamicFields = "1";
Enabled = "1";
@ -100,7 +100,6 @@ new Scene(EditorTemplateLevel) {
canSave = "1";
canSaveDynamicFields = "1";
persistentId = "fff282f5-dced-11e9-a423-bb0e346e3870";
reflectionPath = "D:/Gamedev/T3DMIT/T3DPreview4_0/Bugfixaroo/My Projects/Bugfixaroo/game/data/ExampleModule/levels/ExampleLevel/probes/";
};
};
//--- OBJECT WRITE END ---

View file

@ -109,7 +109,6 @@ new Scene(EditorTemplateLevel) {
canSave = "1";
canSaveDynamicFields = "1";
persistentId = "d5eb3afb-dced-11e9-a423-bb0e346e3870";
reflectionPath = "tools/levels/BlankRoom/probes/";
};
};
//--- OBJECT WRITE END ---

View file

@ -88,7 +88,7 @@ new Scene(EditorTemplateLevel) {
squareSize = "128";
scaleU = "25";
scaleV = "25";
Material = "Grid_512_Grey";
Material = "Prototyping:FloorGray";
canSave = "1";
canSaveDynamicFields = "1";
Enabled = "1";
@ -104,7 +104,6 @@ new Scene(EditorTemplateLevel) {
canSave = "1";
canSaveDynamicFields = "1";
persistentId = "d5eb3afb-dced-11e9-a423-bb0e346e3870";
reflectionPath = "tools/levels/BlankRoom/probes/";
};
};
//--- OBJECT WRITE END ---