Do not mark package as dirty when editing CPF_SkipSerialization property.

#rb Marc.Audy
#fyi charles.bloom
#preflight none

[CL 20455565 by alexander suvorov in ue5-main branch]
This commit is contained in:
alexander suvorov
2022-06-01 14:10:32 -04:00
parent 7b4bbf54d4
commit bb9dae5753
4 changed files with 12 additions and 2 deletions

View File

@@ -420,7 +420,7 @@ FPropertyAccess::Result FPropertyValueImpl::ImportText( const TArray<FObjectBase
// If the values before and after setting the property differ, mark the object dirty.
if (FCString::Strcmp(*PreviousValue, *ValueAfterImport) != 0)
{
if (CurObject)
if (CurObject && !InPropertyNode->ShouldSkipSerialization())
{
CurObject->MarkPackageDirty();
}