1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-12 21:38:38 +00:00

Merge remote-tracking branch 'origin/feature/fix-migration' into development

This commit is contained in:
Robert 2022-11-12 22:33:24 +01:00
commit 0beddb0118

View File

@ -67,7 +67,7 @@ public class M0021GradientNodes : IStorageMigration
List<ProfileEntity> profiles = repository.Query<ProfileEntity>().ToList();
foreach (ProfileEntity profileEntity in profiles)
{
foreach (LayerEntity layer in profileEntity.Layers)
foreach (LayerEntity layer in profileEntity.Layers.Where(le => le.LayerBrush != null))
MigrateDataBinding(layer.LayerBrush.PropertyGroup);
repository.Update(profileEntity);