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>2011-03-22 17:37:45 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-03-22 17:37:45 +0300
commit287a185e909bf833414e14a50864e8cd0f80f0b8 (patch)
treebce9f5c9733e1dfbcc2c75652d8bb1a8b5ca5fc5 /source/blender/editors
parentf40d33f24b85a1c1e0e8d8cb0e42146ebcdef5a9 (diff)
found text editor X/Y selections coords were booleans and corrections to operator calling script from last commit.
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/space_text/text_ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_text/text_ops.c b/source/blender/editors/space_text/text_ops.c
index 0065c3317b8..5325bed15fd 100644
--- a/source/blender/editors/space_text/text_ops.c
+++ b/source/blender/editors/space_text/text_ops.c
@@ -2683,8 +2683,8 @@ void TEXT_OT_cursor_set(wmOperatorType *ot)
ot->poll= text_region_edit_poll;
/* properties */
- RNA_def_boolean(ot->srna, "x", 0, "X", "X-coordinate to set cursor to.");
- RNA_def_boolean(ot->srna, "y", 0, "Y", "X-coordinate to set cursor to.");
+ RNA_def_int(ot->srna, "x", 0, INT_MIN, INT_MAX, "X", "", INT_MIN, INT_MAX);
+ RNA_def_int(ot->srna, "y", 0, INT_MIN, INT_MAX, "Y", "", INT_MIN, INT_MAX);
}
/******************* line number operator **********************/