Fixed material property setting at runtime #214
|
@ -91,6 +91,7 @@ namespace SHADE
|
|||
{
|
||||
SHGraphicsSystem* gfxSystem = SHSystemManager::GetSystem<SHGraphicsSystem>();
|
||||
material = gfxSystem->AddMaterialInstanceCopy(sharedMaterial);
|
||||
matChanged = true;
|
||||
}
|
||||
|
||||
return material;
|
||||
|
|
Loading…
Reference in New Issue