WM: remove sloppy region type access
authorCampbell Barton <ideasman42@gmail.com>
Tue, 12 Jun 2018 15:34:44 +0000 (17:34 +0200)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 12 Jun 2018 15:34:44 +0000 (17:34 +0200)
commitb00d84035989d3cef3417ee4f2ca8475c6c2b57a
tree39c0bb3779dc2234ece59f622f7650f090c55acd
parent760e79d8092a121b9d0e1cd02019478c808acae9
WM: remove sloppy region type access

Avoid accidentally operating on the wrong region type.
source/blender/blenkernel/intern/screen.c
source/blender/editors/interface/interface_eyedropper_datablock.c
source/blender/editors/interface/interface_eyedropper_depth.c
source/blender/editors/screen/screen_edit.c
source/blender/python/intern/bpy_rna_callback.c