From e09621617d3670732004cd201ab1446fd72c7eda Mon Sep 17 00:00:00 2001 From: Masusder <59669685+Masusder@users.noreply.github.com> Date: Sun, 8 Nov 2026 13:42:13 +0100 Subject: [PATCH] Direct texture inspector / Fixed unresolved image preview / OpenGL compatibility detection --- CUE4Parse | 2 +- FModel/Framework/SnooperHost.cs | 27 +-- FModel/MainWindow.xaml | 3 +- FModel/ViewModels/Commands/ImageCommand.cs | 11 +- FModel/ViewModels/GameFileViewModel.cs | 5 +- FModel/ViewModels/SnooperViewModel.cs | 41 +++- FModel/ViewModels/TabControlViewModel.cs | 27 ++- FModel/Views/Resources/Icons.xaml | 1 + FModel/Views/Resources/Resources.xaml | 235 +++++++++++++++++++-- Snooper | 2 +- 10 files changed, 315 insertions(+), 39 deletions(-) diff --git a/CUE4Parse b/CUE4Parse index badffcd0..18d2b8bc 160000 --- a/CUE4Parse +++ b/CUE4Parse @@ -1 +1 @@ -Subproject commit badffcd0421a468667e7253fa3387b21f451af5d +Subproject commit 18d2b8bce789143dbd30fe67c35e28c394ff05f4 diff --git a/FModel/Framework/SnooperHost.cs b/FModel/Framework/SnooperHost.cs index 250768d9..30e49a86 100644 --- a/FModel/Framework/SnooperHost.cs +++ b/FModel/Framework/SnooperHost.cs @@ -17,7 +17,7 @@ namespace FModel.Framework; /// dying: GLFW and the GL driver keep per-thread state there. So the thread Snooper is created on never dies until /// FModel itself closes, it just loops back to waiting for the next window to build. /// -public sealed class SnooperHost(Func build) : IDisposable +public sealed class SnooperHost(Func build, Action onStartupFailure) : IDisposable { private readonly Lock _lock = new(); private readonly SemaphoreSlim _wanted = new(0); @@ -27,22 +27,25 @@ public sealed class SnooperHost(Func build) : IDisposable private Exception? _failure; private Thread? _thread; - public EditorWindow Window + public EditorWindow? GetWindow() { - get + Exception? failure; + lock (_lock) { - lock (_lock) - { - if (_window is { } current) return current; + if (_window is { } current) return current; - _thread ??= StartThread(); - _ready.Reset(); - _wanted.Release(); - _ready.Wait(); + _thread ??= StartThread(); + _ready.Reset(); + _wanted.Release(); + _ready.Wait(); - return _window ?? throw new InvalidOperationException("Snooper failed to start", _failure); - } + if (_window is { } window) return window; + + failure = _failure; } + + onStartupFailure(new InvalidOperationException("Snooper failed to start", failure)); + return null; } private Thread StartThread() diff --git a/FModel/MainWindow.xaml b/FModel/MainWindow.xaml index c78b69a0..ac86a319 100644 --- a/FModel/MainWindow.xaml +++ b/FModel/MainWindow.xaml @@ -149,7 +149,8 @@ - + diff --git a/FModel/ViewModels/Commands/ImageCommand.cs b/FModel/ViewModels/Commands/ImageCommand.cs index 2542f37a..e0a1f0f5 100644 --- a/FModel/ViewModels/Commands/ImageCommand.cs +++ b/FModel/ViewModels/Commands/ImageCommand.cs @@ -14,7 +14,7 @@ public class ImageCommand(TabItem contextViewModel) : ViewModelCommand( { public override void Execute(TabItem tabViewModel, object parameter) { - if (parameter == null || !tabViewModel.HasImage) + if (parameter == null || tabViewModel?.SelectedImage is not { } image) return; switch (parameter) @@ -37,6 +37,15 @@ public class ImageCommand(TabItem contextViewModel) : ViewModelCommand( }); break; } + case "InspectTexture" when image.InspectorTexture is { } texture: + SnooperViewModel.Instance.InspectTexture(texture, image.Name, image.RenderNearestNeighbor); + break; + case "PreviousImage": + tabViewModel.GoPreviousImage(); + break; + case "NextImage": + tabViewModel.GoNextImage(); + break; case "Copy": case BitmapSource: ClipboardExtensions.SetImage(parameter as BitmapSource ?? tabViewModel.SelectedImage.Image, Path.ChangeExtension(tabViewModel.SelectedImage.ExportName, "png")); diff --git a/FModel/ViewModels/GameFileViewModel.cs b/FModel/ViewModels/GameFileViewModel.cs index ed324771..11838672 100644 --- a/FModel/ViewModels/GameFileViewModel.cs +++ b/FModel/ViewModels/GameFileViewModel.cs @@ -419,7 +419,6 @@ public class GameFileViewModel(GameFile asset) : ViewModel private Task ResolveByExtensionAsync(EResolveCompute resolve) { - Resolved |= EResolveCompute.Preview; var lowercaseExtension = Asset.Extension.ToLowerInvariant(); AssetFamily = lowercaseExtension switch @@ -504,11 +503,10 @@ public class GameFileViewModel(GameFile asset) : ViewModel case "bmp": case "svg": { - Resolved |= ~EResolveCompute.Preview; AssetCategory = EAssetCategory.Texture; AssetActions = EBulkType.Textures; if (!resolve.HasFlag(EResolveCompute.Preview)) - break; + return Task.CompletedTask; return Task.Run(() => { @@ -568,6 +566,7 @@ public class GameFileViewModel(GameFile asset) : ViewModel break; } + Resolved |= EResolveCompute.Preview; return Task.CompletedTask; } diff --git a/FModel/ViewModels/SnooperViewModel.cs b/FModel/ViewModels/SnooperViewModel.cs index 084f689f..b8b5db08 100644 --- a/FModel/ViewModels/SnooperViewModel.cs +++ b/FModel/ViewModels/SnooperViewModel.cs @@ -16,11 +16,14 @@ using CUE4Parse.UE4.Assets.Exports.StaticMesh; using CUE4Parse.UE4.Objects.Engine; using CUE4Parse.UE4.Versions; using CUE4Parse_Conversion.Options; +using CUE4Parse_Conversion.Textures; using Editor; using Editor.Managers; using FModel.Framework; using FModel.Services; using FModel.Settings; +using FModel.Views.Resources.Controls; +using OpenTK.Windowing.GraphicsLibraryFramework; using Snooper.Hosting; using Snooper.Rendering.Actors; using Snooper.Rendering.Components.Camera; @@ -29,6 +32,8 @@ using Snooper.Rendering.Components.Primitive; using Snooper.Rendering.Components.Transforms; using Snooper.Rendering.Systems; using Snooper.Rendering.Actors.Custom; +using Snooper.UI; +using GlfwErrorCode = OpenTK.Windowing.GraphicsLibraryFramework.ErrorCode; namespace FModel.ViewModels; @@ -40,6 +45,12 @@ public class SnooperViewModel : ViewModel, IDisposable private readonly SunActor _sun; private readonly EnvironmentActor _environment; + public bool CanOpenSnooper + { + get; + private set => SetProperty(ref field, value); + } = true; + /// /// Mirrors for bindings. /// @@ -59,13 +70,16 @@ public class SnooperViewModel : ViewModel, IDisposable Bridge.Host = new FModelBridgeHost(); Bridge.PendingRequestChanged += request => PendingRequest = request; - _host = new SnooperHost(() => new EditorWindow(htz, width, height, ApplicationService.ApplicationView.CUE4Parse.Provider, false, true)); + _host = new SnooperHost(() => new EditorWindow(htz, width, height, ApplicationService.ApplicationView.CUE4Parse.Provider, startVisible: false, closeHides: true), OnStartupFailure); _sun = new SunActor(); _environment = new EnvironmentActor(); } public void Load(UObject obj, CancellationToken ct = default) { + if (!CanOpenSnooper) + return; + SetOptions(obj); Actor actor = obj switch @@ -89,7 +103,9 @@ public class SnooperViewModel : ViewModel, IDisposable return; } - var editor = _host.Window; + if (_host.GetWindow() is not { } editor) + return; + editor.Invoke(() => { if (editor.Manager.RootActor == null) @@ -109,6 +125,7 @@ public class SnooperViewModel : ViewModel, IDisposable })); } + WindowRequests.Request(Snooper.Settings.ViewportWindow); if (actor != null) editor.Manager.LoadScene(actor); @@ -145,13 +162,29 @@ public class SnooperViewModel : ViewModel, IDisposable public bool TryDeliver(UObject obj) { - if (!Bridge.TryDeliver(obj)) return false; + if (!CanOpenSnooper || !Bridge.TryDeliver(obj) || _host.GetWindow() is not { } editor) + return false; - var editor = _host.Window; editor.Invoke(editor.Show); return true; } + public void InspectTexture(CTexture texture, string name, bool nearestNeighbor) + { + if (CanOpenSnooper) + { + _host.GetWindow()?.InspectTexture(texture, name, nearestNeighbor); + } + } + + private void OnStartupFailure(Exception e) + { + if (e.InnerException is GLFWException { ErrorCode: GlfwErrorCode.ApiUnavailable or GlfwErrorCode.VersionUnavailable }) + CanOpenSnooper = false; + + FLogger.Append(e); + } + private void SetOptions(UObject obj) { var settings = UserSettings.Default; diff --git a/FModel/ViewModels/TabControlViewModel.cs b/FModel/ViewModels/TabControlViewModel.cs index a6b28af9..2a7ceb4c 100644 --- a/FModel/ViewModels/TabControlViewModel.cs +++ b/FModel/ViewModels/TabControlViewModel.cs @@ -30,6 +30,7 @@ public class TabImage : ViewModel private readonly string _name; private readonly object _source; + public string Name => _name; public string ExportName { get; set; } public byte[] ImageBuffer { get; set; } @@ -37,6 +38,11 @@ public class TabImage : ViewModel public ImageAnimation.Frame[] AnimationFrames { get; } public bool CanDisableAlpha => AnimationFrames == null; + public EPixelFormat? TextureFormat { get; } + public int? MipCount { get; } + public CTexture InspectorTexture => TextureFormat.HasValue ? _source as CTexture : null; + public bool HasTexture => InspectorTexture != null; + public TabImage(string name, CFlipbook flipbook) { _name = name; @@ -56,10 +62,22 @@ public class TabImage : ViewModel Encode(UserSettings.GetExportOptions()); } - public TabImage(string name, bool rnn, CTexture img) + public TabImage(string name, bool rnn, CTexture img, UTexture sourceTexture = null) { _name = name; _source = img; + if (img != null && sourceTexture != null) + { + TextureFormat = sourceTexture.Format == EPixelFormat.PF_Unknown ? img.PixelFormat : sourceTexture.Format; + + var platformData = sourceTexture.PlatformData; + var mipCount = platformData.Mips.Length; + if (platformData is { FirstMipToSerialize: >= 0, VTData: { } virtualTexture } && virtualTexture.IsInitialized()) + mipCount = (int) virtualTexture.NumMips; + + if (mipCount > 1) + MipCount = mipCount; + } RenderNearestNeighbor = rnn; SetImage(img?.ToSkBitmap()); Encode(UserSettings.GetExportOptions()); @@ -369,7 +387,7 @@ public class TabItem : ViewModel } } - AddImage(texture.Name, texture.RenderNearestNeighbor, img, save, updateUi, appendLayerNumber); + AddImage(texture.Name, texture.RenderNearestNeighbor, img, save, updateUi, appendLayerNumber, texture); } public void AddImage(string name, bool rnn, SKBitmap[] img, bool save, bool updateUi, bool appendLayerNumber = false) @@ -380,11 +398,12 @@ public class TabItem : ViewModel } } - public void AddImage(string name, bool rnn, CTexture[] img, bool save, bool updateUi, bool appendLayerNumber = false) + public void AddImage(string name, bool rnn, CTexture[] img, bool save, bool updateUi, bool appendLayerNumber = false, UTexture sourceTexture = null) { for (var i = 0; i < img.Length; i++) { - AddImage($"{name}{(appendLayerNumber ? $"_{i}" : "")}", rnn, img[i], save, updateUi); + var layerName = appendLayerNumber ? $"{name}_{i}" : name; + AddImage(new TabImage(layerName, rnn, img[i], sourceTexture), save, updateUi); } } diff --git a/FModel/Views/Resources/Icons.xaml b/FModel/Views/Resources/Icons.xaml index 6a8abb96..398b847f 100644 --- a/FModel/Views/Resources/Icons.xaml +++ b/FModel/Views/Resources/Icons.xaml @@ -119,6 +119,7 @@ M21,10.12H14.22L16.96,7.3C14.23,4.6 9.81,4.5 7.08,7.2C4.35,9.91 4.35,14.28 7.08,17C9.81,19.7 14.23,19.7 16.96,17C18.32,15.65 19,14.08 19,12.1H21C21,14.08 20.12,16.65 18.36,18.39C14.85,21.87 9.15,21.87 5.64,18.39C2.14,14.92 2.11,9.28 5.62,5.81C9.13,2.34 14.76,2.34 18.27,5.81L21,3V10.12M12.5,8V12.25L16,14.33L15.28,15.54L11,13V8H12.5Z M66.34.08h379.32c2.33 1.76 10.37 2.01 13.71 3.14 11.43 3.85 22.75 10.04 31.1 19.01 7.62 8.18 13.45 17.17 17.29 27.61 1.26 3.43 2.78 14.68 4.16 16.5v379.32c-1.38 1.82-2.9 13.07-4.16 16.5-3.84 10.44-9.67 19.43-17.29 27.61-8.35 8.97-19.67 15.16-31.1 19.01-3.34 1.13-11.38 1.38-13.71 3.14H66.34c-2.33-1.76-10.37-2.01-13.71-3.14-11.44-3.85-22.75-10.04-31.1-19.01-7.62-8.18-13.45-17.17-17.29-27.61-1.26-3.43-2.78-14.68-4.16-16.5V66.34c1.38-1.82 2.9-13.07 4.16-16.5 3.84-10.44 9.67-19.43 17.29-27.61 8.35-8.97 19.66-15.16 31.1-19.01C55.97 2.09 64.01 1.84 66.34.08Zm219.5 298.78c5.54-.57 11.34-.14 16.92-.14h33.2c2.52 0 15.8.54 16.67-.72 8.82.08 10.09-8.96 10.09-15.82v-52.36c0-6.7-1.21-15.8-9.77-15.81-1.86-1.88-8.34-.73-10.92-.73l-31.91-.03c.1-3.65 3.15-7.27 4.71-10.38 9.18-18.26 14.94-26.89 36.56-30.74 8.02-1.42 23.11.81 29.28-4.46 3.39-2.88 3.26-8.63 3.26-12.67v-27.58c0-9.98.05-19.95 0-29.93-.01-4.09-2.16-9.82-6.42-11.34-4.29-1.52-9.88-.2-14.43-.13-12.28.19-28.32 2.94-39.65 7.17-2.97 1.11-5.68 2.78-8.69 3.83-15.75 5.48-29.7 17.57-41 29.68-27.62 29.6-40.58 69.66-53.71 106.61-2.82 7.92-4.53 16.88-7.57 24.7-1.9 4.9-3.05 10.28-4.55 15.21-1.23 4.04-3.19 8-4.75 11.95-.65 1.65-.76 3.56-1.4 5.25-8.33 22.05-21.88 43.6-46.31 49.45-4.75 1.13-9.51.84-14.34 1.22-2.3.18-4.32 1-6.65.94-8.03 6.61-6.39 12.95-6.39 22.92v38.34c0 5.88-1.82 16.27 3.41 20.47 4.15 3.34 9.13 2.37 14.17 2.26a110 110 0 0 0 35.91-7.2c25.48-9.68 45.97-26.42 64.46-47.25 5.16-5.81 10.57-12.2 14.16-19.1 2.45-4.73 6.27-8.99 8.69-13.76 4.34-8.59 8.09-17.33 11.89-26.18 1.74-4.03 1.88-10.55 5.08-13.67Z M12 21l-8 -4.5v-9l8 -4.5l8 4.5v4.5 M12 12l8 -4.5 M12 12v9 M12 12l-8 -4.5 M15 18h7 M19 15l3 3l-3 3 + M3 8V3h5v2H5v3z M16 3h5v5h-2V5h-3z M3 16h2v3h3v2H3z M19 16h2v5h-5v-2h3z M7 16l3.5-4 2 2.4 1.5-1.7 3 3.3v1H7z M16 8a1.5 1.5 0 1 0 0 3 1.5 1.5 0 1 0 0-3z M477.02.94h10.15l.46.74 5.58-.09 2.47-.07.53 1.16 5.57-.17 19.81 4.28c1.84 1.44 3.52 1.76 5.93 1.7 9.78 1.22 24.46 8.28 34.04 11.94 19.48 7.42 38.87 14.88 58.33 22.3 1.58.6 3.22.72 4.82 1.18 3.04.87 5.94 2.83 8.9 3.96 6.68 2.55 13.43 5.22 20.26 7.19 1.62.46 3.04 1.65 4.61 2.25 6.6 2.51 13.13 5.2 19.73 7.72 3.81 1.45 7.94 2.32 11.69 3.75 1.35.52 2.28 1.83 3.75 2.25 8.61 2.49 16.82 6.42 25.41 8.9 3.04.88 5.94 2.84 8.9 3.97 6.66 2.54 13.47 5.22 20.27 7.18 1.61.47 3.03 1.65 4.61 2.25 10.43 3.98 20.82 8.42 31.41 11.48 6.86 1.97 13.2 6.27 20.05 8.25 15.33 4.43 29.84 12.21 45.14 16.62 1.62.47 3.04 1.65 4.61 2.25 5.8 2.21 11.78 4.62 17.69 6.33 6.94 2 15.36 5.93 22.3 8.58 1.58.6 3 1.78 4.62 2.25 4.74 1.37 9.08 3.38 13.72 5.14 11.9 4.54 24.64 8.33 33.99 17.48 10.92 10.69 16.78 28.66 16.9 43.59l-.18 335.38c-4.12-.37-8.15-4.7-12.03-6.49l-.24-1.11-3.96-.97-13.72-4.79-.34-1.37-3.82.11-.46-1.08-4.24.32-9.49-1.78-.49-301.07c.26-2 .34-2.71-.97-4.18.02-2.94-1.45-4.82-2.24-7.56-3-10.4-12.87-16.47-23.05-18.98-2.86-.7-5.68-1.29-8.19-2.73l-.23-.67-4.18-.1-95.69-29.05-.48-.98-5.58-.83-114.13-34.27c-1.98-1.68-3.68-1.82-6.33-1.76-6.08-2.42-12.73-3.11-18.76-5.41a145 145 0 0 0-17.16-5.15c-21.86-5.39-52.7-24.27-67.06 4.45a33 33 0 0 0-3.02 11.17l-.78.41.02 5.58v585.84c-.31 2.35-.61 4.1.83 5.95 2.87 13.51 8.23 22.93 22.65 25.81 2.82.57 5.58 1.28 8.58.81 4.46-.7 8.98-2.18 13.32-3.5l4.12-.33.31-1.28 13.58-3.55 4.72-.69.46-1.13c9.67-3.28 19.63-5.71 29.4-8.53 12.37-3.57 24.35-8.05 36.88-11.15 1.92-.47 3.6-1.71 5.47-2.25 6.7-1.93 13.5-4.06 20.27-5.47 4.86-1.01 9.14-3.93 14.23-3.98l-.03 3.72 1.34.32c2.73 8.42 4.79 18.06 9.98 25.54.04 2.17.69 3.08 1.67 5.01l1.21.29c2.56 2.97 4.65 6.4 6.95 9.55 3.1 4.25 7.83 7.89 11.55 11.61-2.23 4.26-11.31 5.26-15.73 7.42-3.86 1.89-7.92 3.15-11.98 4.32-3.87 1.12-7.69 3.38-11.48 4.82-8.76 3.34-17.53 6.43-26.26 9.76l-72.05 27.45c-7.45 2.84-14.87 5.74-22.31 8.58-1.57.6-2.99 1.78-4.61 2.25-7.63 2.2-15.36 5.19-22.83 8.04-2.16.82-4.11 2.47-6.33 3.11-5.63 1.62-10.8 3.91-16.3 6-16.17 6.17-37.14 11.35-54.3 12.29h-14.59c-4.08-.22-8.8-.1-12.43-1.83l-1.36.23-.36-.89-3.86-.02c-6.15-.6-11.77-3.07-17.74-4.31a139 139 0 0 1-21.13-6.33c-1.57-.59-2.99-1.78-4.61-2.25-8.26-2.38-16.47-5.81-24.55-8.9-3.85-1.46-7.53-3.68-11.47-4.82-8.22-2.37-16.51-5.83-24.55-8.9-1.58-.6-3-1.79-4.61-2.25-5.98-1.73-11.85-4.1-17.7-6.33-3.78-1.44-7.6-3.7-11.47-4.82-10.56-3.05-21.09-7.54-31.41-11.47-1.58-.6-3-1.79-4.61-2.26-14.6-4.21-28.66-10.87-42.89-16.29a147 147 0 0 0-11.69-3.76c-1.47-.42-2.4-1.73-3.75-2.25-3.72-1.42-8.05-1.97-11.69-3.75a87 87 0 0 0-11.09-4.62l-.22-1.03-3.42-.19-91.37-34.99-.42-1.01-4.22-.74c-8.55-3.66-17.63-7.18-26.5-9.74-1.61-.47-3.04-1.66-4.61-2.25-7.47-2.85-14.81-5.73-22.3-8.58-12.42-4.74-26.67-9.38-34.98-20.78-7.65-10.47-11.81-23.1-12.6-35.99L1 652.66l-.24-6.77-.07-422.02.35-6.86.55-4.29.98-6.43-.2-1.24 1.21-.48-.2-3.86c.71-6.61 3.74-13.32 7.32-18.89 10.39-16.22 22.1-20.16 39.32-26.73 28.11-10.72 55.95-22.03 84.37-32.53 2.17.04 3.14.16 4.44-1.68l25.86-9.49c1.85-.08 2.32-.14 3.45-1.58l185.25-70.45 4.17-1.75c14.37-5.52 28.86-10.83 43.28-16.33 10.32-3.93 20.16-8.5 30.88-11.15 1.91-.47 3.59-1.71 5.47-2.25 6.08-1.75 12.37-2.52 18.54-3.75 2.34-.47 4.11-1.52 6.6-1.61l6.43.15.46-1.16 1.69.08 5.57.3zM876.86 808.1l-16.91-.03c-4.78-1.78-9.73.02-14.61-.95-1.22-.25-1.67-1.12-2.76-1.53-3.39-1.3-7.33-1.17-10.83-2.04a90 90 0 0 1-16.3-6c-8.23-4.02-17.01-8.61-24.58-14.02-3.44-2.46-6.07-6.03-9.49-8.52-3.44-2.52-12.9-11.58-14.95-15.07-.34-.57-.28-1.42-.65-1.93-.69-.97-2.02-1.34-2.78-2.36-3.3-4.42-6.94-9.69-9.44-14.58-.88-1.73-1.24-3.71-2.3-5.41-3.73-5.95-7.42-13.91-9.14-20.89-.89-3.58-1.16-7.26-2.04-10.82-.67-2.71-1.98-5.18-2.23-8.02-.19-2.32.1-4.34-.26-6.78l-.02-22.09c2.43-37.54 23.68-75.53 55.02-97.92 4.5-3.21 9.77-6.06 14.31-8.84 6.95-4.26 23.72-10.44 31.71-12.04 2.68-.53 5.66-.31 8.26-1.18.82-.27 1.21-1.12 2.04-1.39 4.15-1.35 9.23-.37 13.53-1.04 6.3-.99 14.11-1.82 20.59-.81 3.63.57 11.49.89 14.45 1.85.82.27 1.21 1.12 2.03 1.39 5.87 1.96 12.84 1.82 18.55 4.61 4.38 2.14 8.75 4.38 13.19 6.55 12.69 6.19 28.16 16.71 37.15 28.03 5.62 7.08 11.31 14.52 16.16 22.44 3.48 5.66 6.41 13.6 9.41 19.75 2.25 4.6 2.36 10.28 3.76 15.12.29 1.02 1.14 1.87 1.39 2.9.88 3.55 1.29 7.42 1.85 11.01.48 3.07-.43 6.32.05 9.38 1.33 8.46.6 23.1-1.04 31.61-.64 3.32-2.43 6.45-3.11 9.75-5.96 28.72-26.66 58.06-50.8 75.3a137 137 0 0 1-30.26 16.06c-2.45.93-4.62 2.47-7.18 3.1-4.45 1.1-8.98 1.81-13.41 2.9-1.02.25-1.87 1.15-2.89 1.39-5.11 1.22-10.42-.68-15.47 1.12Zm-3.24-203.39c-1.46 2.14-3.46 1.54-5.55 3.03-2.48 1.77-4.46 4.17-6.91 5.95-1.13.82-2.68 1.36-3.68 2.34-2.66 2.6-5.95 4.83-9.14 7.15-3.4 2.48-6.6 5.51-9.89 8.12-1.37 1.1-2.37 2.95-3.88 3.84-.58.34-1.42.28-1.93.64-2.93 2.09-8 8.25-11.5 9.09-10.77 2.57-29.34-4.97-36.7 5.33-3.06 4.28-2.17 10.88-2.17 15.84v29.17c0 7.15.8 14.56 8.31 17.42 6.91 2.64 16.49 1.02 23.85 1.02 3.72 0 7.87-.61 10.99 1.88 1.44 1.14 2.41 2.78 3.76 3.96 2.03 1.79 4.88 3.29 7.1 4.91 4.55 3.32 8.8 7.46 12.92 11.09 2.35 2.08 5.62 3.62 8.12 5.61 4.19 3.32 10.81 11.09 16.3 11.09 5.03 0 7.42-3.64 8.12-8.12.74-4.74-.28-9.91-.51-14.55-.18-3.77.19-7.31.54-11.15 1.07-11.75-1.16-23.28-.67-34.18.49-11.01.42-22.35 0-33.72-.04-1.07.57-2.18.67-3.3.4-4.39-.31-8.78-.67-13-.48-5.59 1.67-20.62-.65-25.14-1.19-2.33-4.73-3.26-6.83-4.32Zm92.26 88.31.68-.39.02-5.57-.01-18.01.21-4.72-.84-.52c-1.68-5.04-1.32-10.73-3.7-15.62-5.71-11.68-8.76-18.09-17-28.46-4.62-5.83-9.56-13.85-17.98-7.7-3.08 2.25-4.78 7.12-3.01 10.67.52 1.03 1.85 1.69 2.52 2.63 3.67 5.13 7.45 10.26 11.15 15.44 6.86 9.6 10.75 26.57 10.75 38.14 0 11.74-3.13 24.38-9.3 34.44-1.55 2.54-2.24 5.5-4.02 7.99-2.69 3.77-6.7 6.59-9.38 10.35-2.92 4.09-3.17 10.85 1.29 14.1 1.72 1.25 3.5 1.31 5.54 1.31 6.2 0 7.78-4.26 11.58-8.15 7.99-8.15 15.98-22.53 18.71-33.61.96-3.87 1.03-8.82 2.79-12.32Zm-58.81 24.06c3.16-1.58 6.28-3.12 8.85-5.74 1.57-1.6 2.13-3.54 3.19-5.38.49-.86 1.44-1.45 1.98-2.31 1.54-2.45 2.09-5.59 2.87-8.28 3.59-12.45 4.66-21.55 0-33.78-2.64-6.91-6.86-20.31-16.03-20.85-6.41-.38-10.1 6.81-8.98 12.41.55 2.73 3.42 4.91 4.66 7.35 1.56 3.04 3.33 7.33 3.86 10.72 1.09 6.92.05 14.7-1.85 21.25-1.9 6.6-6.95 7.87-6.7 15.6.08 2.51.84 4.89 3.01 6.44 1.52 1.09 3.5 1.54 5.14 2.57Z diff --git a/FModel/Views/Resources/Resources.xaml b/FModel/Views/Resources/Resources.xaml index 3b90dc3c..583de39b 100644 --- a/FModel/Views/Resources/Resources.xaml +++ b/FModel/Views/Resources/Resources.xaml @@ -7,6 +7,7 @@ xmlns:audioControls="clr-namespace:FModel.Views.Resources.Controls.Aup" xmlns:converters="clr-namespace:FModel.Views.Resources.Converters" xmlns:settings="clr-namespace:FModel.Settings" + xmlns:viewModels="clr-namespace:FModel.ViewModels" xmlns:avalonedit="http://icsharpcode.net/sharpdevelop/avalonedit" xmlns:folding="clr-namespace:ICSharpCode.AvalonEdit.Folding;assembly=ICSharpCode.AvalonEdit" xmlns:adonisUi="clr-namespace:AdonisUI;assembly=AdonisUI" @@ -521,11 +522,217 @@ - - + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -572,15 +792,6 @@ - - - - diff --git a/Snooper b/Snooper index 6d867026..721892bc 160000 --- a/Snooper +++ b/Snooper @@ -1 +1 @@ -Subproject commit 6d867026f75e056f27f191590d330516b112cd9c +Subproject commit 721892bcdb5f7b31bf3979d66e8625d564d4ec90