Fix T63015: Crash when using circle select tool in lattice edit mode
Reviewers: brecht Differential Revision: https://developer.blender.org/D4608
This commit is contained in:
parent
aa0c864d48
commit
e2995b29a9
Notes:
blender-bot
2023-02-14 06:00:45 +01:00
Referenced by issue #63015, Blender crashes when selecting lattice points with the select circle tool
|
@ -3205,8 +3205,7 @@ static bool lattice_circle_select(ViewContext *vc, const eSelectOp sel_op, const
|
|||
view3d_userdata_circleselect_init(&data, vc, select, mval, rad);
|
||||
|
||||
if (SEL_OP_USE_PRE_DESELECT(sel_op)) {
|
||||
Curve *curve = vc->obedit->data;
|
||||
data.is_changed |= ED_curve_deselect_all(curve->editnurb);
|
||||
data.is_changed |= ED_lattice_flags_set(vc->obedit, 0);
|
||||
}
|
||||
ED_view3d_init_mats_rv3d(vc->obedit, vc->rv3d); /* for foreach's screen/vert projection */
|
||||
|
||||
|
|
Loading…
Reference in New Issue