Improving new subtract method
This commit is contained in:
parent
d40675d193
commit
5b77462b91
9 changed files with 150 additions and 138 deletions
|
|
@ -133,13 +133,16 @@ namespace MatterHackers.MatterControl.PartPreviewWindow.View3D
|
|||
reporter,
|
||||
cancellationToken);
|
||||
|
||||
var resultsItem = new Object3D()
|
||||
if (resultsMesh != null)
|
||||
{
|
||||
Mesh = resultsMesh
|
||||
};
|
||||
resultsItem.CopyProperties(participants.First(), Object3DPropertyFlags.All & (~Object3DPropertyFlags.Matrix));
|
||||
this.Children.Add(resultsItem);
|
||||
SourceContainer.Visible = false;
|
||||
var resultsItem = new Object3D()
|
||||
{
|
||||
Mesh = resultsMesh
|
||||
};
|
||||
resultsItem.CopyProperties(participants.First(), Object3DPropertyFlags.All & (~Object3DPropertyFlags.Matrix));
|
||||
this.Children.Add(resultsItem);
|
||||
SourceContainer.Visible = false;
|
||||
}
|
||||
}
|
||||
|
||||
public void UpdateControls(PublicPropertyChange change)
|
||||
|
|
|
|||
|
|
@ -133,13 +133,16 @@ namespace MatterHackers.MatterControl.PartPreviewWindow.View3D
|
|||
reporter,
|
||||
cancellationToken);
|
||||
|
||||
var resultsItem = new Object3D()
|
||||
if (resultsMesh != null)
|
||||
{
|
||||
Mesh = resultsMesh
|
||||
};
|
||||
resultsItem.CopyProperties(participants.First(), Object3DPropertyFlags.All & (~Object3DPropertyFlags.Matrix));
|
||||
this.Children.Add(resultsItem);
|
||||
SourceContainer.Visible = false;
|
||||
var resultsItem = new Object3D()
|
||||
{
|
||||
Mesh = resultsMesh
|
||||
};
|
||||
resultsItem.CopyProperties(participants.First(), Object3DPropertyFlags.All & (~Object3DPropertyFlags.Matrix));
|
||||
this.Children.Add(resultsItem);
|
||||
SourceContainer.Visible = false;
|
||||
}
|
||||
}
|
||||
|
||||
public void UpdateControls(PublicPropertyChange change)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue