Revision: 35702
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=35702
Author: campbellbarton
Date: 2011-03-22 14:37:45 +0000 (Tue, 22 Mar 2011)
Log Message:
-----------
found text editor X/Y selections coords were booleans and corrections to
operator calling script from last commit.
Modified Paths:
--------------
trunk/blender/source/blender/editors/space_text/text_ops.c
trunk/blender/source/tests/bl_run_operators.py
Modified: trunk/blender/source/blender/editors/space_text/text_ops.c
===================================================================
--- trunk/blender/source/blender/editors/space_text/text_ops.c 2011-03-22
14:09:07 UTC (rev 35701)
+++ trunk/blender/source/blender/editors/space_text/text_ops.c 2011-03-22
14:37:45 UTC (rev 35702)
@@ -2683,8 +2683,8 @@
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 **********************/
Modified: trunk/blender/source/tests/bl_run_operators.py
===================================================================
--- trunk/blender/source/tests/bl_run_operators.py 2011-03-22 14:09:07 UTC
(rev 35701)
+++ trunk/blender/source/tests/bl_run_operators.py 2011-03-22 14:37:45 UTC
(rev 35702)
@@ -28,7 +28,6 @@
op_blacklist = (
"script.reload",
- "script.reload",
"export*.*",
"import*.*",
"*.save_*",
@@ -70,13 +69,11 @@
bpy.ops.wm.read_factory_settings()
setup_func()
- continue
+
for mode in ('EXEC_DEFAULT', 'INVOKE_DEFAULT'):
try:
op(mode)
- #print(" - pass")
except:
- #print(" - fail")
#import traceback
#traceback.print_exc()
pass
@@ -129,8 +126,6 @@
def ctx_editmode_armature():
bpy.ops.object.armature_add()
bpy.ops.object.mode_set(mode='EDIT')
- bpy.ops.armature.select_all(action='TOGGLE')
- bpy.ops.armature.delete()
def ctx_editmode_lattice():
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs