Blender Git Commit Log

Git Commits -> Revision 59bc71d

Revision 59bc71d by Campbell Barton (master)
August 16, 2020, 11:14 (GMT)
Fix popups opening in the wrong direction over headers

Checks for header alignment didn't account for tool-header & header
having different alignment.

There is no reason to use a lookup function on the area
(ED_area_header_alignment) as we already have region.

Check the regions alignment directly, remove access functions.

Commit Details:

Full Hash: 59bc71d69b138db12c9017c7a7d492fdb6dcddc3
Parent Commit: 73fb445
Lines Changed: +12, -57

6 Modified Paths:

/source/blender/editors/include/ED_screen.h (+0, -4) (Diff)
/source/blender/editors/interface/interface_region_menu_popup.c (+3, -10) (Diff)
/source/blender/editors/interface/interface_region_popover.c (+3, -9) (Diff)
/source/blender/editors/screen/area.c (+0, -32) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+5, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+1, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021