Made invalidate args so we can pass source and invalidate type

Rebuild does not propagate to parent
This commit is contained in:
Lars Brubaker 2018-05-22 16:17:13 -07:00
parent 28b55b73a5
commit ff6e220b4c
21 changed files with 60 additions and 37 deletions

View file

@ -243,7 +243,8 @@ namespace MatterHackers.MatterControl.PartPreviewWindow.View3D
transformedKeep.Transform(inverse);
keep.Mesh = transformedKeep;
keep.Invalidate();
// TODO: make this the subtract object when it is available
keep.Invalidate(new InvalidateArgs(keep, InvalidateType.Content));
percentCompleted += amountPerOperation;
progressStatus.Progress0To1 = percentCompleted;