-
-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
Hi there,
currently our hseditor.HasChanges
method does as follows:
newData := editor.GenerateSaveData()
if newData != nil {
oldData, err := e.Path.GetFileBytes()
if err == nil {
return !bytes.Equal(oldData, newData)
}
}
but most of our encoders aren't as precise. They are encoding data, but sometimes in a bit changed order e.t.c...
HasChanges
should really check if edited (viewed) structure has changes.
Metadata
Metadata
Assignees
Labels
No labels