making sure we don't re-enter this.OnInvalidate unless explicitly for properties

issue: MatterHackers/MCCentral#4965
Rebuild should directly call base.OnInvalidate to prevent re-entering this.OnInvalidate
This commit is contained in:
Lars Brubaker 2019-02-13 15:45:33 -08:00
parent 5617739302
commit 563bd1a3e7
31 changed files with 48 additions and 49 deletions

View file

@ -86,7 +86,7 @@ namespace MatterHackers.MatterControl.DesignTools.Operations
}
SourceContainer.Visible = false;
rebuildLock.Dispose();
Invalidate(InvalidateType.Children);
Parent?.Invalidate(new InvalidateArgs(this, InvalidateType.Children));
return Task.CompletedTask;
});
}