diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-09-25 19:50:57 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-09-25 23:51:54 +0300 |
commit | 2cff9b4cb605047927fbb1c774fdafcfd2ab534e (patch) | |
tree | 101d1efb5507a9dbde2934b04f081e77ed1e131b /source/blender/editors/include/ED_curve.h | |
parent | 05d0e5315b99f939687838b50519d0702b4c8fb4 (diff) |
Curves: Move draw options to overlays
This commit add one regression: it is impossible to currently hide handles
in the viewport. But this should be fixed in another commit.
Diffstat (limited to 'source/blender/editors/include/ED_curve.h')
-rw-r--r-- | source/blender/editors/include/ED_curve.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/include/ED_curve.h b/source/blender/editors/include/ED_curve.h index 8fcfb4743d5..734da4641ae 100644 --- a/source/blender/editors/include/ED_curve.h +++ b/source/blender/editors/include/ED_curve.h @@ -60,15 +60,15 @@ bool ED_curve_editnurb_select_pick(struct bContext *C, const int mval[2], boo struct Nurb *ED_curve_add_nurbs_primitive(struct bContext *C, struct Object *obedit, float mat[4][4], int type, int newob); -bool ED_curve_nurb_select_check(struct Curve *cu, struct Nurb *nu); -int ED_curve_nurb_select_count(struct Curve *cu, struct Nurb *nu); +bool ED_curve_nurb_select_check(struct View3D *v3d, struct Nurb *nu); +int ED_curve_nurb_select_count(struct View3D *v3d, struct Nurb *nu); void ED_curve_nurb_select_all(struct Nurb *nu); void ED_curve_nurb_deselect_all(struct Nurb *nu); int join_curve_exec(struct bContext *C, struct wmOperator *op); /* editcurve_select.c */ -bool ED_curve_select_check(struct Curve *cu, struct EditNurb *editnurb); +bool ED_curve_select_check(struct View3D *v3d, struct EditNurb *editnurb); void ED_curve_deselect_all(struct EditNurb *editnurb); void ED_curve_select_all(struct EditNurb *editnurb); void ED_curve_select_swap(struct EditNurb *editnurb, bool hide_handles); |