Merged changes in the trunk up to revision 27992.
[blender.git] / source / blender / editors / space_view3d / view3d_edit.c
index 12ba14ab189e3b123a4ae9bb2696990cdc89f974..996acd61c0601656fb378e78fa49b18c2c5c1057 100644 (file)
@@ -747,7 +747,7 @@ void VIEW3D_OT_rotate(wmOperatorType *ot)
        /* api callbacks */
        ot->invoke= viewrotate_invoke;
        ot->modal= viewrotate_modal;
-       ot->poll= ED_operator_view3d_rotate;
+       ot->poll= ED_operator_view3d_active;
 
        /* flags */
        ot->flag= OPTYPE_BLOCKING|OPTYPE_GRAB_POINTER;
@@ -1991,7 +1991,7 @@ void VIEW3D_OT_view_orbit(wmOperatorType *ot)
 
        /* api callbacks */
        ot->exec= vieworbit_exec;
-       ot->poll= ED_operator_view3d_rotate;
+       ot->poll= ED_operator_view3d_active;
 
        /* flags */
        ot->flag= 0;