From 9af0cdcd9349b6c0fd1cc0e57a58254e21e1bd3b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 24 Nov 2019 22:04:50 +1100 Subject: Cleanup: remove unused text.selection_set select option This was meant to set the selection end instead of the cursor however it hasn't been working for years and seems quite obscure. --- source/blender/editors/space_text/text_ops.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'source/blender/editors/space_text/text_ops.c') diff --git a/source/blender/editors/space_text/text_ops.c b/source/blender/editors/space_text/text_ops.c index 8a57b578500..842570459be 100644 --- a/source/blender/editors/space_text/text_ops.c +++ b/source/blender/editors/space_text/text_ops.c @@ -3234,7 +3234,6 @@ static int text_selection_set_invoke(bContext *C, wmOperator *op, const wmEvent op->customdata = MEM_callocN(sizeof(SetSelection), "SetCursor"); ssel = op->customdata; - ssel->selecting = RNA_boolean_get(op->ptr, "select"); ssel->mval_prev[0] = event->mval[0]; ssel->mval_prev[1] = event->mval[1]; @@ -3283,9 +3282,6 @@ void TEXT_OT_selection_set(wmOperatorType *ot) ot->modal = text_selection_set_modal; ot->cancel = text_selection_set_cancel; ot->poll = text_region_edit_poll; - - /* properties */ - RNA_def_boolean(ot->srna, "select", 0, "Select", "Set selection end rather than cursor"); } /** \} */ -- cgit v1.2.3