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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user