Blender Git Commit Log

Git Commits -> Revision bea364f

Revision bea364f by Julian Eisel (master)
July 2, 2018, 14:56 (GMT)
Fix: Global area edges couldn't call right click menu to join/split

Operators ignored edges along the screen-layout bounds. They should've ignored
those along window bounds instead.

Although the global areas can not be joined/split, the adjacent areas can. So
the menu should still be shown.
Had to change the return value of area joining operator, so that an error report
can show up when trying to join over a global area edge. Think this is fine to
do, but you never know with such stuff.

Preferably we'd gray out the "Join Area" item in the menu when clicking on the
edge of a global area. Unfotunately the operator uses coordinates passed as
operator properties to find the right edge/areas, which we cannot access from
the poll callback.

Commit Details:

Full Hash: bea364fe2a37222fc8737afdb508ca81e1b89e68
Parent Commit: 878b095
Lines Changed: +32, -16

3 Modified Paths:

/source/blender/blenkernel/BKE_screen.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/screen.c (+8, -6) (Diff)
/source/blender/editors/screen/screen_ops.c (+23, -10) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021