diff options
author | Ton Roosendaal <ton@blender.org> | 2008-12-21 14:05:43 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2008-12-21 14:05:43 +0300 |
commit | 841f376a1c2b5dfef22e02696d5ad2ba053ecfbe (patch) | |
tree | 9983016e996284a49351f4608721e09f8d367734 /source/blender/editors/space_view3d/view3d_intern.h | |
parent | f44d8c2780c08fb96461daf831789c59242fcaa2 (diff) |
2.5
- View3D: added ALT+B clipping operator. Note this needs a call to
the new function view3d_operator_needs_opengl(C) to ensure you
can use opengl functions. Event handling by default doesn't set
opengl per subwindow, it's also forbidden to draw then!
We might consider to tag operators that need opengl...
- Forgot to include creator.c fix for loading builtin vector font
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_intern.h')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_intern.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/editors/space_view3d/view3d_intern.h b/source/blender/editors/space_view3d/view3d_intern.h index ec7138a190b..f6b3bd0ced0 100644 --- a/source/blender/editors/space_view3d/view3d_intern.h +++ b/source/blender/editors/space_view3d/view3d_intern.h @@ -73,8 +73,6 @@ void ED_VIEW3D_OT_viewmove(struct wmOperatorType *ot); void ED_VIEW3D_OT_viewrotate(struct wmOperatorType *ot); void ED_VIEW3D_OT_viewhome(struct wmOperatorType *ot); void ED_VIEW3D_OT_viewcenter(struct wmOperatorType *ot); -void ED_VIEW3D_OT_select(struct wmOperatorType *ot); -void ED_VIEW3D_OT_borderselect(struct wmOperatorType *ot); /* drawobject.c */ void draw_object(Scene *scene, ARegion *ar, View3D *v3d, Base *base, int flag); @@ -108,7 +106,13 @@ void circf(float x, float y, float rad); void circ(float x, float y, float rad); void view3d_update_depths(ARegion *ar, View3D *v3d); +/* view3d_select.c */ +void ED_VIEW3D_OT_clipping(struct wmOperatorType *ot); +void ED_VIEW3D_OT_select(struct wmOperatorType *ot); +void ED_VIEW3D_OT_borderselect(struct wmOperatorType *ot); + /* view3d_view.c */ +void view3d_operator_needs_opengl(const struct bContext *C); float *give_cursor(Scene *scene, View3D *v3d); void viewline(ARegion *ar, View3D *v3d, short mval[2], float ray_start[3], float ray_end[3]); void viewray(ARegion *ar, View3D *v3d, short mval[2], float ray_start[3], float ray_normal[3]); |