Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_view3d/view3d_select.c
| Show First 20 Lines • Show All 3,919 Lines • ▼ Show 20 Lines | static bool mball_circle_select(ViewContext *vc, | ||||
| ED_view3d_init_mats_rv3d(vc->obedit, vc->rv3d); | ED_view3d_init_mats_rv3d(vc->obedit, vc->rv3d); | ||||
| mball_foreachScreenElem( | mball_foreachScreenElem( | ||||
| vc, do_circle_select_mball__doSelectElem, &data, V3D_PROJ_TEST_CLIP_DEFAULT); | vc, do_circle_select_mball__doSelectElem, &data, V3D_PROJ_TEST_CLIP_DEFAULT); | ||||
| return data.is_changed; | return data.is_changed; | ||||
| } | } | ||||
| /** Callbacks for circle selection in Editmode */ | /** | ||||
| * Callbacks for circle selection in Editmode | |||||
| */ | |||||
| static bool obedit_circle_select(bContext *C, | static bool obedit_circle_select(bContext *C, | ||||
| ViewContext *vc, | ViewContext *vc, | ||||
| wmGenericUserData *wm_userdata, | wmGenericUserData *wm_userdata, | ||||
| const eSelectOp sel_op, | const eSelectOp sel_op, | ||||
| const int mval[2], | const int mval[2], | ||||
| float rad) | float rad) | ||||
| { | { | ||||
| bool changed = false; | bool changed = false; | ||||
| ▲ Show 20 Lines • Show All 178 Lines • Show Last 20 Lines | |||||