Fix T44376: Buttons context, invalid data access
authorCampbell Barton <ideasman42@gmail.com>
Mon, 4 May 2015 05:07:24 +0000 (15:07 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 4 May 2015 06:01:20 +0000 (16:01 +1000)
commit77e6a001a96b7eb3b2b1c2216a48c85c1b6906e0
treeff2d44f3d8c661445e5d358f11e9043beadb23f0
parent8d5e57748a777a76dbbe85d432d7d8364775713a
Fix T44376: Buttons context, invalid data access

Removing a scene from the buttons window would crash from a Python operator.
source/blender/blenkernel/BKE_screen.h
source/blender/blenkernel/intern/scene.c
source/blender/blenkernel/intern/screen.c
source/blender/editors/include/ED_buttons.h
source/blender/editors/include/ED_screen.h
source/blender/editors/include/ED_util.h
source/blender/editors/space_buttons/buttons_context.c
source/blender/editors/util/ed_util.c
source/blender/windowmanager/intern/wm_init_exit.c