mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
Added missing assignment in the AmbienceCreator-caching
This commit is contained in:
1 parent
149d65b921
commit
447adfedc4
1 file changed
+1
@@ -96,6 +96,7 @@ namespace Artemis.Profiles.Layers.Types.AmbientLight
|
|||||||
if (_lastAmbienceCreatorType == properties.AmbienceCreatorType)
|
if (_lastAmbienceCreatorType == properties.AmbienceCreatorType)
|
||||||
return _lastAmbienceCreator;
|
return _lastAmbienceCreator;
|
||||||
|
|
||||||
|
_lastAmbienceCreatorType = properties.AmbienceCreatorType;
|
||||||
switch (properties.AmbienceCreatorType)
|
switch (properties.AmbienceCreatorType)
|
||||||
{
|
{
|
||||||
case AmbienceCreatorType.Mirror: return _lastAmbienceCreator = new AmbienceCreatorMirror();
|
case AmbienceCreatorType.Mirror: return _lastAmbienceCreator = new AmbienceCreatorMirror();
|
||||||
|
|||||||
Reference in new issue
Block a user