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

@ -101,7 +101,7 @@ namespace MatterHackers.MatterControl.DesignTools
}
// send the invalidate on image change
Invalidate(InvalidateType.Image);
Parent?.Invalidate(new InvalidateArgs(this, InvalidateType.Image));
}
return _image;