diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-04-10 13:32:19 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-04-10 13:32:19 +0300 |
commit | 1e71270f77a4e1c7c84b871e5378c659d61edb3e (patch) | |
tree | 2a32d112ab58acb1aaff6f60716a44de2a5c30a3 /.arcconfig | |
parent | 253d15ea16a90af1c2ac28d933b73fe7576e0315 (diff) |
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...
Diffstat (limited to '.arcconfig')
0 files changed, 0 insertions, 0 deletions