From 1fe6011e9b91a71e6af5505fa45f17ca7e383212 Mon Sep 17 00:00:00 2001 From: wannkunstbeikor <93538252+wannkunstbeikor@users.noreply.github.com> Date: Fri, 8 Sep 2023 17:17:22 +0200 Subject: [PATCH] [DuplicationPlugin] Dont duplicate transient fields --- Plugins/DuplicationPlugin/DuplicateContextMenuItem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/DuplicationPlugin/DuplicateContextMenuItem.cs b/Plugins/DuplicationPlugin/DuplicateContextMenuItem.cs index 8bf3b1c5a..e54a26c82 100644 --- a/Plugins/DuplicationPlugin/DuplicateContextMenuItem.cs +++ b/Plugins/DuplicationPlugin/DuplicateContextMenuItem.cs @@ -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();