Fixed script object properties never getting their dirty flag cleared after saving

This commit is contained in:
Aruki 2018-10-15 03:11:10 -06:00
parent 7dcfda78ba
commit bac4f9db82
1 changed files with 1 additions and 4 deletions

View File

@ -386,12 +386,9 @@ void IProperty::MarkDirty()
} }
void IProperty::ClearDirtyFlag() void IProperty::ClearDirtyFlag()
{
if (!mpScriptTemplate)
{ {
RootParent()->mFlags &= ~EPropertyFlag::IsDirty; RootParent()->mFlags &= ~EPropertyFlag::IsDirty;
} }
}
bool IProperty::ConvertType(EPropertyType NewType, IProperty* pNewArchetype /*= nullptr*/) bool IProperty::ConvertType(EPropertyType NewType, IProperty* pNewArchetype /*= nullptr*/)
{ {