diff --git a/CUE4Parse b/CUE4Parse index 18e624a3..6a1df768 160000 --- a/CUE4Parse +++ b/CUE4Parse @@ -1 +1 @@ -Subproject commit 18e624a38c82efaf94161ee9e2982fa6a9de9d21 +Subproject commit 6a1df768876bb7216e8f39a0d0f5ae176644aa8a diff --git a/FModel/ViewModels/CUE4ParseViewModel.cs b/FModel/ViewModels/CUE4ParseViewModel.cs index 21de8fec..5e2a6551 100644 --- a/FModel/ViewModels/CUE4ParseViewModel.cs +++ b/FModel/ViewModels/CUE4ParseViewModel.cs @@ -464,7 +464,9 @@ public class CUE4ParseViewModel : ViewModel ChunkCacheDirectory = Directory.CreateDirectory(Path.Combine(UserSettings.Default.OutputDirectory, ".data")), Authorization = new AuthenticationHeaderValue("Bearer", UserSettings.Default.LastAuthResponse.AccessToken) }); - await Provider.MountAsync(); + var onDemandCount = await Provider.MountAsync(); + FLogger.Append(ELog.Information, () => + FLogger.Text($"{onDemandCount} on-demand archive{(onDemandCount > 1 ? "s" : "")} streamed via epicgames.com", Constants.WHITE, true)); }); } diff --git a/FModel/ViewModels/TabControlViewModel.cs b/FModel/ViewModels/TabControlViewModel.cs index 461dd34e..8d081946 100644 --- a/FModel/ViewModels/TabControlViewModel.cs +++ b/FModel/ViewModels/TabControlViewModel.cs @@ -229,7 +229,15 @@ public class TabItem : ViewModel } public void AddImage(UTexture texture, bool save, bool updateUi) - => AddImage(texture.Name, texture.RenderNearestNeighbor, texture.Decode(UserSettings.Default.CurrentDir.TexturePlatform), save, updateUi); + { + var img = texture.Decode(UserSettings.Default.CurrentDir.TexturePlatform); + if (texture is UTextureCube) + { + img = img?.ToPanorama(); + } + + AddImage(texture.Name, texture.RenderNearestNeighbor, img, save, updateUi); + } public void AddImage(string name, bool rnn, SKBitmap[] img, bool save, bool updateUi) { diff --git a/FModel/Views/Snooper/Animations/Skeleton.cs b/FModel/Views/Snooper/Animations/Skeleton.cs index ce1a0dcc..ff01318d 100644 --- a/FModel/Views/Snooper/Animations/Skeleton.cs +++ b/FModel/Views/Snooper/Animations/Skeleton.cs @@ -201,7 +201,7 @@ public class Skeleton : IDisposable sequence.Tracks[bone.SkeletonIndex].GetBoneTransform(f, sequence.NumFrames, ref boneOrientation, ref bonePosition, ref boneScale); if (!bone.IsRoot) boneMatrix = _boneMatriceAtFrame[bone.ParentIndex]; - bonePosition = rotationOnly || bonePosition.IsZero() ? bone.Rest.Position : bonePosition * Constants.SCALE_DOWN_RATIO; + bonePosition = rotationOnly ? bone.Rest.Position : bonePosition * Constants.SCALE_DOWN_RATIO; boneMatrix = new Transform {