Making Object3DControls a SafeList
This commit is contained in:
parent
9ff23ae662
commit
88fafced01
3 changed files with 33 additions and 29 deletions
|
|
@ -134,7 +134,10 @@ namespace MatterHackers.MatterControl.DesignTools
|
|||
};
|
||||
}
|
||||
|
||||
object3DControlsLayer.Object3DControls.AddRange(editorControls);
|
||||
object3DControlsLayer.Object3DControls.Modify((list) =>
|
||||
{
|
||||
list.AddRange(editorControls);
|
||||
});
|
||||
}
|
||||
|
||||
public override async void OnInvalidate(InvalidateArgs invalidateType)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue