Blender Git Commit Log

Git Commits -> Revision 10e093b

Revision 10e093b by Campbell Barton (master)
January 28, 2021, 05:12 (GMT)
Fix T83539: 'activate_init' fails with buttons that have popups

Activating buttons was running too early, before the popup was
positioned on the screen,
causing data-selectors to be positioned incorrectly.

As the early button activation isn't needed, remove this call.

Ensure this doesn't happen again with an assert.

Commit Details:

Full Hash: 10e093b30d17149008a10df3f52d39744577f17b
Parent Commit: 93412cb
Lines Changed: +5, -2

2 Modified Paths:

/source/blender/editors/interface/interface.c (+5, -0) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+0, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021