@@ -144,6 +144,8 @@ def test_material_texture(self):
144144 texture_material = UsdShade .Material (texture_material_prim )
145145 self .assertTrue (texture_material )
146146 self .assertTrue (texture_material .GetPrim ().HasAuthoredReferences ())
147+ wrap_mode = self .get_material_wrap_mode (texture_material )
148+ self .assertEqual (wrap_mode , "repeat" )
147149
148150 diffuse_color = self .get_material_diffuse_color (texture_material )
149151 self .assertEqual (diffuse_color , None )
@@ -159,6 +161,8 @@ def test_material_texture(self):
159161 color_texture_material = UsdShade .Material (color_texture_material_prim )
160162 self .assertTrue (color_texture_material )
161163 self .assertTrue (color_texture_material .GetPrim ().HasAuthoredReferences ())
164+ wrap_mode = self .get_material_wrap_mode (color_texture_material )
165+ self .assertEqual (wrap_mode , "repeat" )
162166
163167 opacity = self .get_material_opacity (color_texture_material )
164168 self .assertEqual (opacity , 1.0 )
@@ -457,6 +461,8 @@ def test_material_mesh_texture(self):
457461 self .assertTrue (texture_material_prim .IsA (UsdShade .Material ))
458462 texture_material = UsdShade .Material (texture_material_prim )
459463 self .assertTrue (texture_material )
464+ wrap_mode = self .get_material_wrap_mode (texture_material )
465+ self .assertEqual (wrap_mode , "repeat" )
460466
461467 diffuse_color = self .get_material_diffuse_color (texture_material )
462468 self .assertIsNone (diffuse_color )
@@ -478,6 +484,8 @@ def test_material_mesh_texture(self):
478484 self .assertTrue (texture_opacity_material_prim .IsA (UsdShade .Material ))
479485 texture_opacity_material = UsdShade .Material (texture_opacity_material_prim )
480486 self .assertTrue (texture_opacity_material )
487+ wrap_mode = self .get_material_wrap_mode (texture_opacity_material )
488+ self .assertEqual (wrap_mode , "repeat" )
481489
482490 diffuse_color = self .get_material_diffuse_color (texture_opacity_material )
483491 self .assertIsNone (diffuse_color )
@@ -491,6 +499,8 @@ def test_material_mesh_texture(self):
491499 self .assertTrue (texture_specular_workflow_material_prim .IsA (UsdShade .Material ))
492500 texture_specular_workflow_material = UsdShade .Material (texture_specular_workflow_material_prim )
493501 self .assertTrue (texture_specular_workflow_material )
502+ wrap_mode = self .get_material_wrap_mode (texture_specular_workflow_material )
503+ self .assertEqual (wrap_mode , "repeat" )
494504
495505 diffuse_color = self .get_material_diffuse_color (texture_specular_workflow_material )
496506 diffuse_color = usdex .core .linearToSrgb (diffuse_color )
0 commit comments