Disable 'Demo' shadow mesh
This commit is contained in:
parent
82e563f493
commit
8a3c370cd3
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue