Skip to content

Commit

Permalink
[DuplicationPlugin] Dont duplicate transient fields
Browse files Browse the repository at this point in the history
  • Loading branch information
wannkunstbeikor committed Sep 8, 2023
1 parent 241d219 commit 1fe6011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plugins/DuplicationPlugin/DuplicateContextMenuItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ public virtual EbxAssetEntry DuplicateAsset(EbxAssetEntry entry, string newName,
}
else
{
using (EbxBaseWriter writer = EbxBaseWriter.CreateWriter(new MemoryStream(), EbxWriteFlags.DoNotSort | EbxWriteFlags.IncludeTransient))
using (EbxBaseWriter writer = EbxBaseWriter.CreateWriter(new MemoryStream(), EbxWriteFlags.DoNotSort))
{
writer.WriteAsset(asset);
byte[] buf = writer.ToByteArray();
Expand Down

0 comments on commit 1fe6011

Please sign in to comment.