Skip to content
Snippets Groups Projects
Commit a2a36ecc authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Unzoom the model image to 12.5 percent

It is required to be shown on the screen, but we can at least make it
smaller so it is less prominent.
parent 94e9e491
No related branches found
No related tags found
No related merge requests found
......@@ -134,6 +134,10 @@ def process_folder(path, suffix, outpath, model_file, fmt):
# the model needs to be shown, otherwise the IJ.run() call ignores it
try:
model.show()
canvas = model.getCanvas()
for _ in range(5):
# we have to show it, but we can make it smaller:
canvas.zoomOut(100, 100)
except AttributeError:
misc.error_exit("Opening shading model [%s] failed!" % model_file)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment