Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-04-14 16:33:10 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-04-14 16:33:57 +0300
commitde47bf69da1a220181074c966a5ee23ef5ed2f82 (patch)
tree343fc1bd46ebf6109afbc7fecd68afddd5999470 /source/blender/editors/space_text
parentb800a05c558dd23f4092b69811d91a08f433ae3f (diff)
Cleanup: remove text editor 'select' option that did nothing
Diffstat (limited to 'source/blender/editors/space_text')
-rw-r--r--source/blender/editors/space_text/text_ops.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/editors/space_text/text_ops.c b/source/blender/editors/space_text/text_ops.c
index b42f2eba35c..fa378954a30 100644
--- a/source/blender/editors/space_text/text_ops.c
+++ b/source/blender/editors/space_text/text_ops.c
@@ -2902,7 +2902,6 @@ void TEXT_OT_scroll_bar(wmOperatorType *ot)
* \{ */
typedef struct SetSelection {
- int selecting;
int selc, sell;
short mval_prev[2];
wmTimer *timer; /* needed for scrolling when mouse at region bounds */
@@ -3244,7 +3243,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];
@@ -3293,9 +3291,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");
}
/** \} */