This commit is contained in:
4sval
2022-10-09 23:25:29 +02:00
parent a664f34bec
commit d047b56978
5 changed files with 7 additions and 8 deletions

View File

@@ -536,7 +536,7 @@ public class CUE4ParseViewModel : ViewModel
case "uasset":
case "umap":
{
var exports = Provider.LoadObjectExports(fullPath);
var exports = Provider.LoadObjectExports(fullPath); // cancellationToken
TabControl.SelectedTab.SetDocumentText(JsonConvert.SerializeObject(exports, Formatting.Indented), bulkSave);
if (bulkSave) break;
@@ -709,7 +709,7 @@ public class CUE4ParseViewModel : ViewModel
TabControl.AddTab(fullPath.SubstringAfterLast('/'), fullPath.SubstringBeforeLast('/'));
TabControl.SelectedTab.ScrollTrigger = objectName;
var exports = Provider.LoadObjectExports(fullPath);
var exports = Provider.LoadObjectExports(fullPath); // cancellationToken
TabControl.SelectedTab.Highlighter = AvalonExtensions.HighlighterSelector(""); // json
TabControl.SelectedTab.SetDocumentText(JsonConvert.SerializeObject(exports, Formatting.Indented), false);

View File

@@ -1,5 +1,4 @@
using System;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using FModel.Framework;