Working to make output type be clearable
This commit is contained in:
parent
c94159d196
commit
90cf1f183b
1 changed files with 8 additions and 1 deletions
|
|
@ -302,7 +302,14 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
{
|
||||
if (selectedItem.Color != colorField.Color)
|
||||
{
|
||||
undoBuffer.AddAndDo(new ChangeColor(selectedItem, colorField.Color, PrintOutputTypes.Default));
|
||||
if (colorField.Color == Color.Transparent)
|
||||
{
|
||||
undoBuffer.AddAndDo(new ChangeColor(selectedItem, colorField.Color, PrintOutputTypes.Default));
|
||||
}
|
||||
else
|
||||
{
|
||||
undoBuffer.AddAndDo(new ChangeColor(selectedItem, colorField.Color, PrintOutputTypes.Solid));
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue