Core - Added stores for the different register-able types

Profiles - Refactored large parts of the profile structure to use these stores
This commit is contained in:
Robert authored and SpoinkyNL committed 2020-09-12 10:39:44 +02:00
1 parent 80d7d37f40
commit ea9c6526d8
75 files changed
+1526 -934

No files matched your search

@@ -158,13 +158,13 @@ namespace Artemis.Core.Services
profile.RedoStack.Clear();
profile.UndoStack.Push(memento);
profile.ApplyToEntity();
profile.Save();
if (includeChildren)
{
foreach (var folder in profile.GetAllFolders())
folder.ApplyToEntity();
folder.Save();
foreach (var layer in profile.GetAllLayers())
layer.ApplyToEntity();
layer.Save();
}
_profileRepository.Save(profile.ProfileEntity);