Making paths behave more consistently

This commit is contained in:
Lars Brubaker 2020-10-16 16:25:11 -07:00
parent 7c5a764162
commit 864266bd7a
18 changed files with 466 additions and 98 deletions

View file

@ -171,7 +171,7 @@ namespace MatterHackers.MatterControl.DesignTools
var end = PositionsHaveBeenSet ? EndPosition : EndPosition.Transform(Matrix);
// draw on top of anything that is already drawn
object3DControlLayer.World.Render3DLine(start, end, Color.Black.WithAlpha(20), false, width: GuiWidget.DeviceScale);
object3DControlLayer.World.Render3DLine(start, end, Color.Black.WithAlpha(Constants.LineAlpha), false, width: GuiWidget.DeviceScale);
// Restore DepthTest
object3DControlLayer.World.Render3DLine(start, end, Color.Black, true, width: GuiWidget.DeviceScale);