Ability to force center in back
Ability to turn off monotonic infill
This commit is contained in:
parent
c43ed1e73f
commit
4d7dfd1787
7 changed files with 18 additions and 6 deletions
|
|
@ -382,12 +382,10 @@ namespace MatterHackers.MatterControl
|
|||
double finalScale = imageToLoadInto.Width / (double)unScaledImage.Width;
|
||||
imageToLoadInto.Allocate(imageToLoadInto.Width, (int)(unScaledImage.Height * finalScale), imageToLoadInto.Width * (imageToLoadInto.BitDepth / 8), imageToLoadInto.BitDepth);
|
||||
imageToLoadInto.NewGraphics2D().Render(unScaledImage, 0, 0, 0, finalScale, finalScale);
|
||||
imageToLoadInto.MarkImageChanged();
|
||||
}
|
||||
else
|
||||
{
|
||||
StaticData.Instance.LoadImageData(stream, imageToLoadInto);
|
||||
imageToLoadInto.MarkImageChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue