diff options
Diffstat (limited to 'tests/python')
-rw-r--r-- | tests/python/modifiers.py | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/tests/python/modifiers.py b/tests/python/modifiers.py index 827cc80393a..333633a4c4d 100644 --- a/tests/python/modifiers.py +++ b/tests/python/modifiers.py @@ -213,7 +213,6 @@ def main(): SpecMeshTest("MergedNoneWeld", "testMergedNoneWeld", "expectedMergedNoneWeld", [ModifierSpec("weld", 'WELD', {"merge_threshold": 0.019})]), - ############################################# # One 'Deform' modifier on primitive meshes ############################################# @@ -325,6 +324,18 @@ def main(): ] + boolean_basename = "CubeBooleanDiffBMeshObject" + tests.append(SpecMeshTest("BooleandDiffBMeshObject", "test" + boolean_basename, "expected" + boolean_basename, + [ModifierSpec("boolean", 'BOOLEAN', + {"solver": 'FAST', "operation": 'DIFFERENCE', "operand_type": 'OBJECT', + "object": bpy.data.objects["test" + boolean_basename + "Operand"]})])) + boolean_basename = "CubeBooleanDiffBMeshCollection" + tests.append(SpecMeshTest("BooleandDiffBMeshCollection", "test" + boolean_basename, "expected" + boolean_basename, + [ModifierSpec("boolean", 'BOOLEAN', + {"solver": 'FAST', "operation": 'DIFFERENCE', "operand_type": 'COLLECTION', + "collection": bpy.data.collections["test" + boolean_basename + "Operands"]})])) + + modifiers_test = RunTest(tests) command = list(sys.argv) |