Blender Git Commit Log
Git Commits -> Revision 182e97a
Revision 182e97a by Tamito Kajiyama (master) April 29, 2014, 11:41 (GMT) |
Fix T39941: Freestyle: Rendered preview crashes when non-primary render layer is selected and disabled. Freestyle relies on render layer name (RenderLayer::name) to find the render layer that corresponds to a scene render layer being rendered. When the active render layer is disabled during preview rendering, the function render_result_new() populates the list of render layers (RenderResult::layers) with an unnamed render layer while setting the active scene render layer index to zero. This commit fixes the missing initialization of the render layer name by referring to that of the first in the list of scene render layers. |
Commit Details:
Full Hash: 182e97a2cd4bdca9709dbbd1a4e6c175aed448a6
Parent Commit: 437bb52
Lines Changed: +2, -0
1 Modified Path:
/source/blender/render/intern/source/render_result.c (+2, -0) (Diff)