From 47081898a5a9effad13690a9cf08e2544beacf8f Mon Sep 17 00:00:00 2001 From: atenfyr Date: Fri, 9 Aug 2024 10:35:59 -0500 Subject: [PATCH] remove P2Attribute override; raw struct code is enough --- UAssetAPI/PropertyTypes/Structs/StructPropertyData.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/UAssetAPI/PropertyTypes/Structs/StructPropertyData.cs b/UAssetAPI/PropertyTypes/Structs/StructPropertyData.cs index 4bc01254..e73e8634 100644 --- a/UAssetAPI/PropertyTypes/Structs/StructPropertyData.cs +++ b/UAssetAPI/PropertyTypes/Structs/StructPropertyData.cs @@ -95,7 +95,6 @@ public override void Read(AssetBinaryReader reader, bool includeHeader, long len if (structTypeVal == "MovieSceneFloatValue" && reader.Asset.GetCustomVersion() < FSequencerObjectVersion.SerializeFloatChannel) hasCustomStructSerialization = false; if (structTypeVal == "MovieSceneTangentData" && reader.Asset.GetCustomVersion() < FSequencerObjectVersion.SerializeFloatChannel) hasCustomStructSerialization = false; if (structTypeVal == "FontData" && reader.Asset.GetCustomVersion() < FEditorObjectVersion.AddedFontFaceAssets) hasCustomStructSerialization = false; - if (structTypeVal == "P2Attribute") throw new NotImplementedException("P2Attribute struct type not currently implemented"); // throw here so we become a RawStructPropertyData if (leng1 == 0) {