Debugging drawables should be in Debug builds only
This commit is contained in:
parent
b6b3ad5f6e
commit
24638675df
1 changed files with 2 additions and 1 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue