ee4676a6e5953a250e1949fe4708514dd7438f22
If conditions are not met for offscreen rendering, render job is used as fallback. This can be skipped if there is possibility of race condition. This was only considered for case where `context->for_render` was false, since this indicates that call is invoked by the job itself. If scene strip display is set to `OB_RENDER`, it needs to start the render job. So variable `do_seq_gl` was renamed to `is_preview` and reused in race avoidance connditon. This was done to convey clearer meaning and match comments. This change does make code less safe - race is avoided by UI not allowing to run F12 render and opengl render at the same time. However, I don't think, this could be easily resolved on VSE side without suspending thread or being able to run multiple render jobs. Pull Request: https://projects.blender.org/blender/blender/pulls/127926
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
11%
C
6.3%
GLSL
2.2%
CMake
1.3%
Other
1.1%
