Fix for crash on bpy.ops.curve.vertex_add/bpy.ops.curve.extrude

Removed view3d_operator_needs_opengl from addvert_Nurb, which is unneeded here
This commit is contained in:
2010-06-15 09:55:54 +00:00
parent 7b0bda22e1
commit 9a5e5033a2

View File

@@ -3414,7 +3414,6 @@ 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;