Blender Git Loki

Git Commits -> Revision c532695

Revision c532695 by Julian Eisel (master)
September 20, 2016, 22:44 (GMT)
UI: Fix crash using drag-toggle over window bounds with button callback

Steps to reproduce:
* Go to modifier context in properties editor
* Add modifier, collapse it
* Press down LMB over collapse button of modifier, hold it
* Drag over pin-icon in properties editor (to keep fixed data-block displayed)
* Drag outside of window bounds (should crash)

Also could've solved by getting space data from callback arguments instead of context, but this fix is much nicer (though not totally un-risky).

Commit Details:

Full Hash: c5326958a5f3d5ed07b0a69822bb049ca21f5aac
Parent Commit: 2382d1c
Lines Changed: +4, -0

1 Modified Path:

/source/blender/editors/interface/interface_handlers.c (+4, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021