Added folder/layer renaming

Implemented profile saving
This commit is contained in:
SpoinkyNL committed 2019-11-24 23:01:11 +01:00
1 parent d8b0b2d4b6
commit 75e932edb1
20 files changed
+253 -62

No files matched your search

@@ -96,9 +96,11 @@ namespace Artemis.Core.Services.Storage
profile.ApplyToEntity();
if (includeChildren)
{
foreach (var profileElement in profile.Children)
profileElement.ApplyToEntity();
foreach (var folder in profile.GetAllFolders())
folder.ApplyToEntity();
foreach (var layer in profile.GetAllLayers())
layer.ApplyToEntity();
if (_surfaceService.ActiveSurface != null)
profile.ApplySurface(_surfaceService.ActiveSurface);
}