Cleaning up object3d invalidate calls
This commit is contained in:
parent
239c431560
commit
6305303047
49 changed files with 90 additions and 92 deletions
|
|
@ -59,8 +59,6 @@ namespace MatterHackers.MatterControl.DesignTools.Operations
|
|||
|
||||
public override async void OnInvalidate(InvalidateArgs invalidateType)
|
||||
{
|
||||
this.DebugDepth("Invalidate");
|
||||
|
||||
if ((invalidateType.InvalidateType.HasFlag(InvalidateType.Children)
|
||||
|| invalidateType.InvalidateType.HasFlag(InvalidateType.Matrix)
|
||||
|| invalidateType.InvalidateType.HasFlag(InvalidateType.Path))
|
||||
|
|
@ -93,7 +91,7 @@ namespace MatterHackers.MatterControl.DesignTools.Operations
|
|||
DoSmoothing((long)(SmoothDistance * 1000), Iterations);
|
||||
|
||||
rebuildLock.Dispose();
|
||||
Invalidate(new InvalidateArgs(this, InvalidateType.Path));
|
||||
Invalidate(InvalidateType.Path);
|
||||
return Task.CompletedTask;
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue