diff options
author | Joshua Leung <aligorith@gmail.com> | 2011-01-18 04:04:14 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2011-01-18 04:04:14 +0300 |
commit | e49df9e09fca37fc1c85392574f9b68c48e92e57 (patch) | |
tree | 060cb27b133840b4f67915df0728e1b21eb6696d /source/blender/editors/include | |
parent | 86baf7c937c4bcac1c9ebf516e2aa2a79ec2f6fc (diff) |
Bugfix [#25684b] Surface and Stroke options are not working with Use
Sketching Sessions.
Fix for secondary issue noted in this bug report. Some of the code for
the fancy 3d view sketching options needed to be moved around so that
there is a clearer "paint/sketch session" and "stroke" separation
between various stages. There's still some more stuff that needs to be
done here before I think it's totally cleaned up.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/ED_view3d.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_view3d.h b/source/blender/editors/include/ED_view3d.h index 337104e3737..d6fc0797449 100644 --- a/source/blender/editors/include/ED_view3d.h +++ b/source/blender/editors/include/ED_view3d.h @@ -47,6 +47,7 @@ struct RegionView3D; struct Scene; struct View3D; struct ViewContext; +struct wmWindow; /* for derivedmesh drawing callbacks, for view3d_select, .... */ @@ -144,6 +145,7 @@ short view3d_opengl_select(struct ViewContext *vc, unsigned int *buffer, unsigne void view3d_set_viewcontext(struct bContext *C, struct ViewContext *vc); void view3d_operator_needs_opengl(const struct bContext *C); +void view3d_region_operator_needs_opengl(struct wmWindow *win, struct ARegion *ar); void view3d_get_view_aligned_coordinate(struct ViewContext *vc, float *fp, short mval[2]); void view3d_get_transformation(struct ARegion *ar, struct RegionView3D *rv3d, struct Object *ob, struct bglMats *mats); |