mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix: Tests: initial updated regression test is not correct
When creating a new mesh test (e.g. a geometry nodes test), the code would just copy the object without applying modifiers. This results in the test failing initially. I noticed this due to another issue in `verify_attributes_compatible` which allows meshes to compare equal when they have a different set of attributes right now. This results in my test file not being properly created at all, because the test succeeded even without applying the modifier. Pull Request: https://projects.blender.org/blender/blender/pulls/154463
This commit is contained in:
parent
2b3068cadd
commit
8a925a51b1
1 changed files with 1 additions and 0 deletions
|
|
@ -240,6 +240,7 @@ class MeshTest(ABC):
|
|||
self.expected_object.name = self.exp_object_name
|
||||
x, y, z = self.test_object.location
|
||||
self.expected_object.location = (x, y + 10, z)
|
||||
self.apply_operations(self.expected_object.name)
|
||||
|
||||
def create_evaluated_object(self):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue