2.5 Outliner - Mouse Clicks work again
authorJoshua Leung <aligorith@gmail.com>
Sun, 28 Dec 2008 22:26:02 +0000 (22:26 +0000)
committerJoshua Leung <aligorith@gmail.com>
Sun, 28 Dec 2008 22:26:02 +0000 (22:26 +0000)
A typo in the outliner_active poll() callback meant that the events were being skipped.

source/blender/editors/screen/screen_ops.c

index 3197d23988c7fa6a93f6da55f4d475719f87b886..a64d8cbfb11f040ced127bb04d1cc350802401a0 100644 (file)
@@ -98,7 +98,7 @@ int ED_operator_outliner_active(bContext *C)
 {
        if(ed_spacetype_test(C, SPACE_OOPS)) {
                SpaceOops *so= (SpaceOops *)CTX_wm_space_data(C);
-               return so->spacetype == SO_OUTLINER;
+               return (so->type == SO_OUTLINER);
        }
        return 0;
 }