mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 20:48:59 +08:00
CURA-4425 remove resolution optimization, it does not work as expected and leaves a cropped image
This commit is contained in:
parent
ffa4df6a06
commit
4782659569
@ -43,10 +43,6 @@ class Snapshot:
|
|||||||
render_width, render_height = active_camera.getWindowSize()
|
render_width, render_height = active_camera.getWindowSize()
|
||||||
render_width = int(render_width)
|
render_width = int(render_width)
|
||||||
render_height = int(render_height)
|
render_height = int(render_height)
|
||||||
# Result should have enough resolution; it is cropped and then scaled down.
|
|
||||||
while (render_width < 1000) or (render_height < 1000):
|
|
||||||
render_width *= 2
|
|
||||||
render_height *= 2
|
|
||||||
preview_pass = PreviewPass(render_width, render_height)
|
preview_pass = PreviewPass(render_width, render_height)
|
||||||
|
|
||||||
root = scene.getRoot()
|
root = scene.getRoot()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user