Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2010-01-26 20:06:28 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-01-26 20:06:28 +0300
commite308fe9632b990ab2616d5ecc8402c945e15de3d (patch)
treed13d50b487830ce9a661b490e812ff8a83a99099 /source/blender/editors/curve
parent217c2638cc5813009f68fef294a9c7e66465af8c (diff)
Fix #20805: L selection in edit mode with bezier doesn't work.
Diffstat (limited to 'source/blender/editors/curve')
-rw-r--r--source/blender/editors/curve/editcurve.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/curve/editcurve.c b/source/blender/editors/curve/editcurve.c
index 69018b049c2..0c9c78382b0 100644
--- a/source/blender/editors/curve/editcurve.c
+++ b/source/blender/editors/curve/editcurve.c
@@ -3142,6 +3142,7 @@ int mouse_nurb(bContext *C, short mval[2], int extend)
int location[2];
short hand;
+ view3d_operator_needs_opengl(C);
view3d_set_viewcontext(C, &vc);
location[0]= mval[0];
@@ -3356,6 +3357,7 @@ static int addvert_Nurb(bContext *C, short mode, float location[3])
copy_m3_m4(mat, obedit->obmat);
invert_m3_m3(imat,mat);
+ view3d_operator_needs_opengl(C);
findselectedNurbvert(editnurb, &nu, &bezt, &bp);
if(bezt==0 && bp==0) return OPERATOR_CANCELLED;
@@ -3710,6 +3712,7 @@ static int select_linked_exec(bContext *C, wmOperator *op)
deselect= RNA_boolean_get(op->ptr, "deselect");
RNA_int_get_array(op->ptr, "location", location);
+ view3d_operator_needs_opengl(C);
view3d_set_viewcontext(C, &vc);
findnearestNurbvert(&vc, 1, location, &nu, &bezt, &bp);