Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/io/wavefront_obj/tests/obj_importer_tests.cc')
-rw-r--r--source/blender/io/wavefront_obj/tests/obj_importer_tests.cc12
1 files changed, 11 insertions, 1 deletions
diff --git a/source/blender/io/wavefront_obj/tests/obj_importer_tests.cc b/source/blender/io/wavefront_obj/tests/obj_importer_tests.cc
index 63c827d385f..f97546fe4f5 100644
--- a/source/blender/io/wavefront_obj/tests/obj_importer_tests.cc
+++ b/source/blender/io/wavefront_obj/tests/obj_importer_tests.cc
@@ -325,6 +325,16 @@ TEST_F(obj_importer_test, import_cubes_with_textures_rel)
float3(1, -1, -1),
float3(0, 1, 0),
float2(0.9935f, 0.0020f)},
+ {"OBCubeTexMul",
+ OB_MESH,
+ 8,
+ 12,
+ 6,
+ 24,
+ float3(4, -2, -1),
+ float3(4, -4, -1),
+ float3(0, 1, 0),
+ float2(0.9935f, 0.0020f)},
{"OBCubeTiledTex",
OB_MESH,
8,
@@ -346,7 +356,7 @@ TEST_F(obj_importer_test, import_cubes_with_textures_rel)
float3(0, 1, 0),
float2(0.9935f, 0.0020f)},
};
- import_and_check("cubes_with_textures_rel.obj", expect, std::size(expect), 3, 4);
+ import_and_check("cubes_with_textures_rel.obj", expect, std::size(expect), 4, 4);
}
TEST_F(obj_importer_test, import_faces_invalid_or_with_holes)