netrender: utility function to extract information from a blend file on disk. Used to get render resolution for jobs in the web interface (lazy init).

This commit is contained in:
2010-01-25 21:10:33 +00:00
parent 4907e8df20
commit abd9a59af4
3 changed files with 38 additions and 0 deletions

View File

@@ -215,6 +215,17 @@ def get(handler):
job = handler.server.getJobID(job_id)
if job:
output("<h2>Render Information</h2>")
job.initInfo()
startTable()
rowTable("resolution", "%ix%i at %i%%" % job.resolution)
endTable()
output("<h2>Files</h2>")
startTable()