Remove manual invalidate, rely on code in ImageConverter operation

This commit is contained in:
John Lewin 2019-01-15 15:24:39 -08:00
parent 216bd91dc3
commit 95006f5577

View file

@ -125,9 +125,6 @@ namespace MatterHackers.MatterControl.Library
// Invoke ImageConverter operation, passing image and scene
ApplicationController.Instance.Graph.Operations["ImageConverter"].Operation(imageObject, tempScene);
// Invalidate image, forcing rebuild
imageObject.Invalidate(new InvalidateArgs(imageObject, InvalidateType.Content, null));
// Return replacement object constructed in ImageConverter operation
var constructedComponent = tempScene.SelectedItem;
tempScene.Children.Remove(constructedComponent);