Fix #28733, #29885: fix missing scene in context in python. The window manager
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 30 Jan 2012 15:12:51 +0000 (15:12 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 30 Jan 2012 15:12:51 +0000 (15:12 +0000)
commit2a614b04c147d4095e0ac9f64ed6b00a9925359f
treee567dba8ca3bd3f712321526f51f8bd31fed8e2f
parented8f690be741554e4083ca375fdca192dbab309a
Fix #28733, #29885: fix missing scene in context in python. The window manager
would indirectly clear it when clearing the window from the context. This makes
some sense when we support multiple scenes properly, but currently there's still
many places assuming there is a single active scene, so keep it available to
avoid crashes.
source/blender/blenkernel/intern/context.c