diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2016-06-12 18:06:50 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2016-06-12 18:06:50 +0300 |
commit | 055001111e226e953b18c31deaacc2e1e7394f78 (patch) | |
tree | 6e9f95a5a97bf5ce8c5242b90702b03ce5c6ec01 /intern/cycles/graph | |
parent | 2033f47e55b50150d305b4115ef12efaeca23b8c (diff) |
Fix T48604: Crash on undo due to bad drawing code.
Short story: draw_lamp would add itself to delayed transp drawing list from 'xray' drawing step.
This was broken, since delayed transp drawing list is always handled **before** delayed xray one.
After undo it lead to segfault crash, v3d->afterdraw_transp still having reference to old freed scene's base.
Also added asserts that those afterdraw list are empty at end of drawing step, should help
avoiding that kind of issue in future.
Diffstat (limited to 'intern/cycles/graph')
0 files changed, 0 insertions, 0 deletions