Fix undo modifications notify from nested SyncPointEditor
This commit is contained in:
@@ -102,6 +102,16 @@ namespace FlaxEditor.CustomEditors
|
||||
/// </summary>
|
||||
protected virtual void OnModified()
|
||||
{
|
||||
var parent = ParentEditor;
|
||||
while (parent != null)
|
||||
{
|
||||
if (parent is SyncPointEditor syncPointEditor)
|
||||
{
|
||||
syncPointEditor.OnModified();
|
||||
break;
|
||||
}
|
||||
parent = parent.ParentEditor;
|
||||
}
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
|
||||
Reference in New Issue
Block a user