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

This commit is contained in:
Robert committed 2022-11-12 22:33:24 +01:00
commit 0beddb0118
1 file changed
+1 -1
@@ -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);