1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-13 05:48:35 +00:00

Added missing assignment in the AmbienceCreator-caching

This commit is contained in:
Darth Affe 2016-11-01 14:53:07 +01:00
parent 149d65b921
commit 447adfedc4

View File

@ -96,6 +96,7 @@ namespace Artemis.Profiles.Layers.Types.AmbientLight
if (_lastAmbienceCreatorType == properties.AmbienceCreatorType)
return _lastAmbienceCreator;
_lastAmbienceCreatorType = properties.AmbienceCreatorType;
switch (properties.AmbienceCreatorType)
{
case AmbienceCreatorType.Mirror: return _lastAmbienceCreator = new AmbienceCreatorMirror();