mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Added missing assignment in the AmbienceCreator-caching
This commit is contained in:
1 parent
0b62804c72
commit
2e871523cb
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