no functional change: NC_SPACE|ND_SPACE_VIEW3D notifier was getting an Object as...
authorCampbell Barton <ideasman42@gmail.com>
Sun, 5 Feb 2012 21:58:24 +0000 (21:58 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 5 Feb 2012 21:58:24 +0000 (21:58 +0000)
source/blender/editors/space_view3d/view3d_buttons.c

index 985d70d21446579a1341c4ef80f27363987d203f..5238fd30ae69c70371095fb687e9f457a7f4d180 100644 (file)
@@ -1269,7 +1269,7 @@ static void do_view3d_region_buttons(bContext *C, void *UNUSED(index), int event
        }
 
        /* default for now */
-       WM_event_add_notifier(C, NC_SPACE|ND_SPACE_VIEW3D, ob);
+       WM_event_add_notifier(C, NC_SPACE|ND_SPACE_VIEW3D, v3d);
 }
 
 static void view3d_panel_object(const bContext *C, Panel *pa)