Make sure there are lines in z control before we try and draw it
This commit is contained in:
parent
727f071e35
commit
bfa585c084
1 changed files with 2 additions and 1 deletions
|
|
@ -288,7 +288,8 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
|
||||
private void InteractionLayer_AfterDraw(object sender, DrawEventArgs drawEvent)
|
||||
{
|
||||
if (InteractionContext.Scene.HasSelection)
|
||||
if (InteractionContext.Scene.HasSelection
|
||||
&& lines.Count > 2)
|
||||
{
|
||||
if (zHeightDisplayInfo.Visible)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue