Merged changes in the trunk up to revision 28536.
[blender.git] / source / blender / editors / space_view3d / view3d_edit.c
index c7a174626a0ff084b7595f4283424b24d7d90433..89513c11feac736d100c9a50d5ee5bb022bba335 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;
@@ -1992,7 +1992,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;