Simplify
This commit is contained in:
parent
330aba83f7
commit
02793f790b
1 changed files with 8 additions and 9 deletions
|
|
@ -71,23 +71,22 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
|
||||
public override void OnLoad(EventArgs args)
|
||||
{
|
||||
drawables.Add(new AxisIndicatorDrawable());
|
||||
drawables.Add(new TraceDataDrawable(sceneContext)
|
||||
drawables.AddRange(new IDrawable[]
|
||||
{
|
||||
Enabled = false
|
||||
});
|
||||
drawables.Add(new AABBDrawable(sceneContext)
|
||||
{
|
||||
Enabled = false
|
||||
new AxisIndicatorDrawable(),
|
||||
new SceneTraceDataDrawable(sceneContext),
|
||||
new AABBDrawable(sceneContext)
|
||||
});
|
||||
|
||||
itemDrawables.Add(new SelectedItemDrawable(sceneContext, this));
|
||||
itemDrawables.AddRange(new IDrawableItem[]
|
||||
{
|
||||
new SelectedItemDrawable(sceneContext, this),
|
||||
});
|
||||
|
||||
#if DEBUG
|
||||
itemDrawables.Add(new InspectedItemDrawable(sceneContext));
|
||||
#endif
|
||||
|
||||
|
||||
base.OnLoad(args);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue