netrender: refactor thumbnail generation code. New option to generate the thumbnail on the slaves (per slave option, default off). Missing thumbnails are still generated on demand by the master.

This commit is contained in:
2010-01-09 18:21:27 +00:00
parent e3641796c2
commit 670d55f097
5 changed files with 131 additions and 35 deletions

View File

@@ -101,7 +101,7 @@ function showThumb(job, frame)
function toggleThumb(job, frame)
{
img = document.images["thumb" + frame];
url = "/render_" + job + "_" + frame + ".jpg"
url = "/thumb_" + job + "_" + frame + ".jpg"
if (img.style.display == "block") {
img.style.display = "none";