Skip to content

Commit

Permalink
Export activity entities with children if available
Browse files Browse the repository at this point in the history
  • Loading branch information
DeltaDesigns committed Nov 22, 2023
1 parent 961e656 commit 4e96148
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Charm/ActivityMapEntityView.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,9 @@ await Task.Run(() =>
await Task.Run(() =>
{
Entity entity = FileResourcer.Get().GetFile<Entity>(tagHash);
EntityView.Export(new List<Entity> { entity }, entity.Hash, ExportTypeFlag.Full);
List<Entity> entities = new List<Entity> { entity };
entities.AddRange(entity.GetEntityChildren());
EntityView.Export(entities, entity.Hash, ExportTypeFlag.Full);
MainWindow.Progress.CompleteStage();
});
}
Expand Down

0 comments on commit 4e96148

Please sign in to comment.