USD: Validate displayColor primvars in the tests

The USD test data files were recently updated to output a `displayColor`
attribute. This adds the relevant test verification for it.

Pull Request: https://projects.blender.org/blender/blender/pulls/129237
This commit is contained in:
Jesse Yurkovich
2024-10-19 20:59:25 +02:00
committed by Jesse Yurkovich
parent 120a178158
commit 15d79cf2b9
2 changed files with 2 additions and 0 deletions

View File

@@ -911,6 +911,7 @@ class USDImportTest(AbstractUSDTest):
self.check_attribute(mesh, "fc_float", 'CORNER', 'FLOAT', 4)
self.check_attribute(mesh, "fc_byte_color", 'CORNER', 'FLOAT_COLOR', 4)
self.check_attribute(mesh, "fc_color", 'CORNER', 'FLOAT_COLOR', 4)
self.check_attribute(mesh, "displayColor", 'CORNER', 'FLOAT_COLOR', 4)
self.check_attribute(mesh, "fc_vec2", 'CORNER', 'FLOAT2', 4)
self.check_attribute(mesh, "fc_vec3", 'CORNER', 'FLOAT_VECTOR', 4)
self.check_attribute_missing(mesh, "fc_quat")