Disable 'Demo' shadow mesh

This commit is contained in:
John Lewin 2017-10-18 18:20:18 -07:00
parent 82e563f493
commit 8a3c370cd3

View file

@ -123,8 +123,8 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
var withScale = Matrix4X4.CreateScale(selectedBounds.XSize, selectedBounds.YSize, 1) * TotalTransform;
bool authorized = ApplicationController.Instance.ActiveView3DWidget?.ActiveSelectionEditor?.Unlocked == true;
if (authorized)
//bool authorized = ApplicationController.Instance.ActiveView3DWidget?.ActiveSelectionEditor?.Unlocked == true;
if (true) //authorized)
{
GLHelper.Render(GetNormalShadowMesh(), new RGBA_Bytes(shadowColor, shadowAlpha), withScale, RenderTypes.Shaded);
}