Fix #28370: border select for curve and metaball did not update number of
[blender-staging.git] / source / blender / editors / space_view3d / view3d_select.c
index f241e640906d2275427f5ee59f64ae02f5bc61c6..65914ead899de7a511965209277c422acab1d89c 100644 (file)
@@ -1765,9 +1765,15 @@ static int view3d_borderselect_exec(bContext *C, wmOperator *op)
                case OB_CURVE:
                case OB_SURF:
                        ret= do_nurbs_box_select(&vc, &rect, select, extend);
+                       if(ret & OPERATOR_FINISHED) {
+                               WM_event_add_notifier(C, NC_GEOM|ND_SELECT, vc.obedit->data);
+                       }
                        break;
                case OB_MBALL:
                        ret= do_meta_box_select(&vc, &rect, select, extend);
+                       if(ret & OPERATOR_FINISHED) {
+                               WM_event_add_notifier(C, NC_GEOM|ND_SELECT, vc.obedit->data);
+                       }
                        break;
                case OB_ARMATURE:
                        ret= do_armature_box_select(&vc, &rect, select, extend);