Fix tests after ea84f82

This commit is contained in:
Andrej730
2025-04-02 18:29:08 +05:00
parent 0315542237
commit 3cbab975d5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -558,7 +558,7 @@ class Misc:
def run_root_copy_class(cls, obj=None): pass
def scale_object_to_height(cls, obj, height): pass
def set_object_origin_to_bottom(cls, obj): pass
def split_objects_with_cutter(cls, objs, cutter): pass
def boolean_objects_with_cutter(cls, objs, cutter): pass
@interface
+1 -1
View File
@@ -173,7 +173,7 @@ class TestSplitObjectsWithCutter(test.bim.bootstrap.NewFile):
obj = bpy.data.objects.get("Cube")
cutter = bpy.data.objects.get("Plane")
assert obj.dimensions[2] == 2
new_objs = subject.split_objects_with_cutter([obj], cutter)
new_objs = subject.boolean_objects_with_cutter([obj], cutter)
assert new_objs[0].name == "Cube.001"
assert obj.dimensions[2] == 1
assert new_objs[0].dimensions[2] == 1