Blender Git Commit Log

Git Commits -> Revision 6a681bc

Revision 6a681bc by Tamito Kajiyama (master)
March 1, 2010, 21:51 (GMT)
Made an attempt for fixing an instability issue regarding animation
rendering.

RE_BlenderFrame() and RE_BlenderAnim() are Blender's internal
top-level rendering API functions for a single frame and a series of
frames, respectively. These functions rely on global variables to
keep render pipeline states. Freestyle's stroke rendering was also
using RE_BlenderFrame to render a temporary scene of stroke meshes.
These nested calls of the top-level rendering API functions were
causing broken render pipeline states and eventually led to a crash.

This commit is intended to fix the issue, by introducing an rendering
API function RE_RenderFreestyleStrokes specifically used for stroke
rendering in Freestyle. The new function does not do anything with
regard to the global variables in the rendering API implementation.

Commit Details:

Full Hash: 6a681bca4531d31acac0080a18fd2d7aa283d900
SVN Revision: 27213
Parent Commit: b21a994
Lines Changed: +12, -1

3 Modified Paths:

/source/blender/freestyle/intern/blender_interface/BlenderStrokeRenderer.cpp (+1, -1) (Diff)
/source/blender/render/extern/include/RE_pipeline.h (+1, -0) (Diff)
/source/blender/render/intern/source/pipeline.c (+10, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021