renderlib: fix rendering of single frame images
This commit is contained in:
parent
d5b3ef975e
commit
b4ced563ef
1 changed files with 3 additions and 2 deletions
|
@ -140,9 +140,10 @@ def cachedRenderFrame(frame, frameNr, task, cache):
|
||||||
|
|
||||||
|
|
||||||
def rendertask_image(task):
|
def rendertask_image(task):
|
||||||
with SVGTemplate(task) as svg:
|
svgfile = '{0}/image.svg'.format(task.workdir)
|
||||||
|
with SVGTemplate(task, svgfile) as svg:
|
||||||
svg.replacetext()
|
svg.replacetext()
|
||||||
svgfile = svg.write()
|
svg.write()
|
||||||
renderFrame(svgfile, task, task.outfile)
|
renderFrame(svgfile, task, task.outfile)
|
||||||
|
|
||||||
def rendertask_video(task):
|
def rendertask_video(task):
|
||||||
|
|
Loading…
Add table
Reference in a new issue