fix [#26801] Undoing Animation modifiers undoes 2 steps.
[blender.git] / source / tests / bl_run_operators.py
index 703adafad91c9c8af7fc55aaf3a840386ccbe54d..668b4e692284242f0681f30ef5d8de21606b0b12 100644 (file)
@@ -27,7 +27,6 @@ import bpy
 import sys
 
 op_blacklist = (
-    "script.reload",
     "script.reload",
     "export*.*",
     "import*.*",
@@ -70,13 +69,11 @@ def run_ops(operators, setup_func=None):
             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
@@ -116,11 +113,6 @@ def ctx_editmode_mball():
     bpy.ops.object.mode_set(mode='EDIT')
 
 
-def ctx_editmode_mball():
-    bpy.ops.object.metaball_add()
-    bpy.ops.object.mode_set(mode='EDIT')
-
-
 def ctx_editmode_text():
     bpy.ops.object.text_add()
     bpy.ops.object.mode_set(mode='EDIT')
@@ -129,8 +121,6 @@ def ctx_editmode_text():
 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():