Page MenuHome

Frame metadata incorrect when running opengl render in console for pngs (and probably other file formats)
Closed, ResolvedPublic


System Information
Windows 10 and Nvidia

Blender Version
Broken: (2.78 0330741 see splash screen)
Worked: 2.78a

Short description of error
When running bpy.ops.render.opengl(animation=True) in a console for a multi-frame playblast if the frame number is stamped the metadata is incorrectly

Exact steps for others to reproduce the error

  • open file playblast_test.blend
  • open up a console and run bpy.ops.render.opengl(animation=True)
  • look at the metadata for the pngs and you will notice that the first image should say Frame 1 but it shows Frame 2, while the second image will be Frame 2.
  • if you change the start frame at point n and the end frame at m, you will notice the frame number in the meta data goes from n+1 -> m, in other words its off by one error.

When I test it with 2.78a the metadata is fine but if I test it with the latest master version it is not working. One caveat is if you go to Render->OpenGL Rendering Animation it works fine, just when you run that command on its own. Thanks!

Event Timeline

Could not reproduce on linux, worked as expected with any build.


Hmm, I only use windows, so perhaps it's only a windows problem.

Can easily repro on windows, even with a debug build.

Aaron Carlisle (Blendify) lowered the priority of this task from 90 to Normal.Feb 2 2017, 5:03 AM

Bisected it back to rB6f92604 , @Sergey Sharybin (sergey) seems there's a data race in the meta data, can you take a peek?

This works! Thank you very much!