diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-03-22 17:37:45 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-03-22 17:37:45 +0300 |
commit | 287a185e909bf833414e14a50864e8cd0f80f0b8 (patch) | |
tree | bce9f5c9733e1dfbcc2c75652d8bb1a8b5ca5fc5 /source/blender/editors | |
parent | f40d33f24b85a1c1e0e8d8cb0e42146ebcdef5a9 (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.c | 4 |
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 **********************/ |