Putting in more tool control
This commit is contained in:
parent
273d47b5f8
commit
3d330038b1
5 changed files with 44 additions and 27 deletions
|
|
@ -117,7 +117,8 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
|
||||
public override void DrawGlContent(EventArgs e)
|
||||
{
|
||||
if (MeshViewerToDrawWith.Scene.HasSelection)
|
||||
if (MeshViewerToDrawWith.Scene.HasSelection
|
||||
&& MeshViewerToDrawWith.Scene.ShowSelectionShadow)
|
||||
{
|
||||
// draw the bounds on the bed
|
||||
AxisAlignedBoundingBox selectedBounds = MeshViewerToDrawWith.Scene.SelectedItem.GetAxisAlignedBoundingBox(Matrix4X4.Identity);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue