Skip to content

Commit

Permalink
remove P2Attribute override; raw struct code is enough
Browse files Browse the repository at this point in the history
  • Loading branch information
atenfyr committed Aug 9, 2024
1 parent f11cbd7 commit 4708189
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion UAssetAPI/PropertyTypes/Structs/StructPropertyData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ public override void Read(AssetBinaryReader reader, bool includeHeader, long len
if (structTypeVal == "MovieSceneFloatValue" && reader.Asset.GetCustomVersion<FSequencerObjectVersion>() < FSequencerObjectVersion.SerializeFloatChannel) hasCustomStructSerialization = false;
if (structTypeVal == "MovieSceneTangentData" && reader.Asset.GetCustomVersion<FSequencerObjectVersion>() < FSequencerObjectVersion.SerializeFloatChannel) hasCustomStructSerialization = false;
if (structTypeVal == "FontData" && reader.Asset.GetCustomVersion<FEditorObjectVersion>() < 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)
{
Expand Down

0 comments on commit 4708189

Please sign in to comment.