Blender Git Commit Log
Git Commits -> Revision 0550011
Revision 0550011 by Bastien Montagne (master) June 12, 2016, 15:06 (GMT) |
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. |
Commit Details:
Full Hash: 055001111e226e953b18c31deaacc2e1e7394f78
Parent Commit: 2033f47
Lines Changed: +5, -1