Cleaning up object3d invalidate calls
This commit is contained in:
parent
239c431560
commit
6305303047
49 changed files with 90 additions and 92 deletions
|
|
@ -71,7 +71,7 @@ namespace MatterHackers.MatterControl.Library
|
|||
{ DateCreated = new System.DateTime(index++) },
|
||||
new GeneratorItem(
|
||||
() => "Text".Localize(),
|
||||
() => TextObject3D.Create())
|
||||
() => TextObject3D.Create().Result)
|
||||
{ DateCreated = new System.DateTime(index++) },
|
||||
#if DEBUG
|
||||
new GeneratorItem(
|
||||
|
|
|
|||
|
|
@ -147,7 +147,7 @@ namespace MatterHackers.MatterControl.Library
|
|||
this.Children.Remove(placeholderItem);
|
||||
this.Collapse();
|
||||
|
||||
this.Invalidate(new InvalidateArgs(this, InvalidateType.Children));
|
||||
this.Invalidate(InvalidateType.Children);
|
||||
}));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue