forked from bartvdbraak/blender
fix [#28274] Cant select aditional object in edit mode.
missing feature from 2.4x
This commit is contained in:
parent
feb52de6b5
commit
dd8d24ff9d
@ -1335,10 +1335,10 @@ static int mouse_select(bContext *C, const int mval[2], short extend, short obce
|
||||
if(oldbasact != basact) {
|
||||
ED_base_object_activate(C, basact); /* adds notifier */
|
||||
}
|
||||
}
|
||||
|
||||
WM_event_add_notifier(C, NC_SCENE|ND_OB_SELECT, scene);
|
||||
}
|
||||
}
|
||||
|
||||
return retval;
|
||||
}
|
||||
@ -1842,7 +1842,7 @@ static int view3d_select_invoke(bContext *C, wmOperator *op, wmEvent *event)
|
||||
|
||||
view3d_operator_needs_opengl(C);
|
||||
|
||||
if(obedit) {
|
||||
if(obedit && center==FALSE) {
|
||||
if(obedit->type==OB_MESH)
|
||||
retval = mouse_mesh(C, event->mval, extend);
|
||||
else if(obedit->type==OB_ARMATURE)
|
||||
@ -1889,7 +1889,7 @@ void VIEW3D_OT_select(wmOperatorType *ot)
|
||||
|
||||
/* properties */
|
||||
RNA_def_boolean(ot->srna, "extend", 0, "Extend", "Extend selection instead of deselecting everything first.");
|
||||
RNA_def_boolean(ot->srna, "center", 0, "Center", "Use the object center when selecting (object mode only).");
|
||||
RNA_def_boolean(ot->srna, "center", 0, "Center", "Use the object center when selecting, in editmode used to extend object selection.");
|
||||
RNA_def_boolean(ot->srna, "enumerate", 0, "Enumerate", "List objects under the mouse (object mode only).");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user