Debugging drawables should be in Debug builds only

This commit is contained in:
jlewin 2019-04-25 14:56:21 -07:00
parent b6b3ad5f6e
commit 24638675df

View file

@ -75,6 +75,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
public override void OnLoad(EventArgs args)
{
#if DEBUG
drawables.AddRange(new IDrawable[]
{
new AxisIndicatorDrawable(),
@ -82,7 +83,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
new AABBDrawable(sceneContext),
new LevelingDataDrawable(sceneContext)
});
#endif
itemDrawables.AddRange(new IDrawableItem[]
{
new SelectedItemDrawable(sceneContext, this),