Made the non-manifold renderer work
This commit is contained in:
parent
8e8bb4ebf9
commit
2444fd0d9e
1 changed files with 4 additions and 4 deletions
|
|
@ -59,7 +59,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
[RenderTypes.Shaded] = AggContext.StaticData.LoadIcon("view_shaded.png", 16, 16, theme.InvertIcons),
|
||||
[RenderTypes.Outlines] = AggContext.StaticData.LoadIcon("view_outlines.png", 16, 16, theme.InvertIcons),
|
||||
[RenderTypes.Polygons] = AggContext.StaticData.LoadIcon("view_polygons.png", 16, 16, theme.InvertIcons),
|
||||
[RenderTypes.Manifold] = AggContext.StaticData.LoadIcon("view_polygons.png", 16, 16, theme.InvertIcons),
|
||||
[RenderTypes.NonManifold] = AggContext.StaticData.LoadIcon("view_polygons.png", 16, 16, theme.InvertIcons),
|
||||
[RenderTypes.Materials] = AggContext.StaticData.LoadIcon("view_materials.png", 16, 16, theme.InvertIcons),
|
||||
[RenderTypes.Overhang] = AggContext.StaticData.LoadIcon("view_overhang.png", 16, 16, theme.InvertIcons),
|
||||
};
|
||||
|
|
@ -122,12 +122,12 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
|
||||
#if DEBUG
|
||||
popupMenu.CreateBoolMenuItem(
|
||||
"Manifold".Localize(),
|
||||
"Non-Manifold".Localize(),
|
||||
viewIcons[RenderTypes.Polygons],
|
||||
() => sceneContext.ViewState.RenderType == RenderTypes.Manifold,
|
||||
() => sceneContext.ViewState.RenderType == RenderTypes.NonManifold,
|
||||
(isChecked) =>
|
||||
{
|
||||
sceneContext.ViewState.RenderType = RenderTypes.Manifold;
|
||||
sceneContext.ViewState.RenderType = RenderTypes.NonManifold;
|
||||
},
|
||||
useRadioStyle: true,
|
||||
siblingRadioButtonList: siblingList);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue