Blender Git Commit Log

Git Commits -> Revision 6eb20ca

Revision 6eb20ca by Bastien Montagne (master)
April 7, 2014, 15:17 (GMT)
Fix own broken rB95b25e7333c4 (crash on any undo op :/).

Issue here was that buttons_texture_context_compute() was getting scene from (button-customized) context,
before the button paths (and hence, context) had been updated. So after an undo, it was getting an invalid
(freed by undo) scene pointer.

Now update BCONTEXT_SCENE path before calling buttons_texture_context_compute().

Commit Details:

Full Hash: 6eb20ca048e65871f12e8111512b69bacc599488
Parent Commit: 163a321
Lines Changed: +10, -7

2 Modified Paths:

/source/blender/blenkernel/intern/context.c (+1, -1) (Diff)
/source/blender/editors/space_buttons/buttons_context.c (+9, -6) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021