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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user