diff options
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_select.c')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_select.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/source/blender/editors/space_view3d/view3d_select.c b/source/blender/editors/space_view3d/view3d_select.c index 4bc64a337f5..5b400bbf60a 100644 --- a/source/blender/editors/space_view3d/view3d_select.c +++ b/source/blender/editors/space_view3d/view3d_select.c @@ -21,7 +21,6 @@ * \ingroup spview3d */ -#include <assert.h> #include <float.h> #include <math.h> #include <stdio.h> @@ -933,7 +932,7 @@ static void do_lasso_select_curve__doSelect(void *userData, data->is_changed = true; } else { - char *flag_p = (&bezt->f1) + beztindex; + uint8_t *flag_p = (&bezt->f1) + beztindex; const bool is_select = *flag_p & SELECT; const int sel_op_result = ED_select_op_action_deselected(data->sel_op, is_select, is_inside); if (sel_op_result != -1) { @@ -1694,7 +1693,7 @@ static int selectbuffer_ret_hits_5(uint *buffer, * Checks three selection levels and compare. * * \param do_nearest_xray_if_supported: When set, read in hits that don't stop - * at the nearest surface. The hit's must still be ordered by depth. + * at the nearest surface. The hits must still be ordered by depth. * Needed so we can step to the next, non-active object when it's already selected, see: T76445. */ static int mixed_bones_object_selectbuffer(ViewContext *vc, @@ -2300,7 +2299,7 @@ static bool ed_object_select_pick(bContext *C, /* Set special modes for grease pencil * The grease pencil modes are not real modes, but a hack to make the interface * consistent, so need some tricks to keep UI synchronized */ - // XXX: This stuff needs reviewing (Aligorith) + /* XXX: This stuff needs reviewing (Aligorith) */ if (false && (((oldbasact) && oldbasact->object->type == OB_GPENCIL) || (basact->object->type == OB_GPENCIL))) { /* set cursor */ @@ -2743,7 +2742,7 @@ static void do_nurbs_box_select__doSelect(void *userData, bezt->f1 = bezt->f3 = bezt->f2; } else { - char *flag_p = (&bezt->f1) + beztindex; + uint8_t *flag_p = (&bezt->f1) + beztindex; const bool is_select = *flag_p & SELECT; const int sel_op_result = ED_select_op_action_deselected(data->sel_op, is_select, is_inside); if (sel_op_result != -1) { |