Blender Git Commit Log

Git Commits -> Revision 70682d1

Revision 70682d1 by Campbell Barton (master)
May 3, 2019, 03:04 (GMT)
Cleanup: replace RGN_ALIGN_ENUM_MASK

This was only used once, other checks were masking out
RGN_SPLIT_PREV which isn't future proof (if other flags are added).

Add RGN_ALIGN_ENUM_FROM_MASK macro, use it everywhere we need to
check the alignment enum.

Commit Details:

Full Hash: 70682d11b8a8b3bca327a309f2e1e8383b920387
Parent Commit: a01bcfa
Lines Changed: +31, -23

4 Modified Paths:

/source/blender/editors/screen/area.c (+4, -4) (Diff)
/source/blender/editors/screen/screen_ops.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+25, -17) (Diff)
/source/blender/makesrna/intern/rna_screen.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021