mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Cleanup: Remove Dots Stroke material from USD's empty.blend test file
This extra material in what should be an empty file often makes some checks and text comparisons needlessly more confusing. Pull Request: https://projects.blender.org/blender/blender/pulls/139228
This commit is contained in:
parent
efdda78175
commit
e84c60561c
3 changed files with 3 additions and 16 deletions
|
|
@ -1691,13 +1691,13 @@ class USDImportTest(AbstractUSDTest):
|
|||
self.assertEqual(image.tiles[tile].size[1], size)
|
||||
|
||||
def check_materials():
|
||||
self.assertEqual(len(bpy.data.materials), 7) # +1 because of the "Dots Stroke" material
|
||||
self.assertTrue("Clip_With_LessThanInvert" in bpy.data.materials)
|
||||
self.assertTrue("Clip_With_Round" in bpy.data.materials)
|
||||
self.assertTrue("Material" in bpy.data.materials)
|
||||
self.assertTrue("NormalMap" in bpy.data.materials)
|
||||
self.assertTrue("NormalMap_Scale_Bias" in bpy.data.materials)
|
||||
self.assertTrue("Transforms" in bpy.data.materials)
|
||||
self.assertEqual(len(bpy.data.materials), 6)
|
||||
|
||||
# Reload the empty file and import back in using IMPORT_PACK
|
||||
bpy.ops.wm.open_mainfile(filepath=str(self.testdir / "empty.blend"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue