Blender Git Commit Log

Git Commits -> Revision 1e71270

Revision 1e71270 by Bastien Montagne (master)
April 10, 2015, 10:32 (GMT)
Fix T44329: Blender Crash when rendering in 3DView.

This commit fixes two different issues actually:
* When view name is unknown/irrelevant, you should pass a NULL str pointer to
`RE_RenderLayerGetPass()`, not an empty string!
* `render_result_rescale()` would unconditionnaly free re->result (at the end),
even if it did not replaced it at all, leading to freed memory access later.

This is only a partial fix though, "CacheBuffer" (i.e. saving tiles in EXR files)
shall not be used in 3DView rendering, and yet it is here...

Commit Details:

Full Hash: 1e71270f77a4e1c7c84b871e5378c659d61edb3e
Parent Commit: 253d15e
Lines Changed: +4, -5

1 Modified Path:

/source/blender/render/intern/source/pipeline.c (+4, -5) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021