Skip to content

Commit 21f7139

Browse files
committed
ovis: fix build
1 parent 39120af commit 21f7139

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/ovis/src/meshes.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ void createPointCloudMesh(const String& name, InputArray vertices, InputArray co
3838
{
3939
int color_type = colors.type();
4040
CV_Assert(_app);
41-
CV_CheckTypeEQ(vertices.type(), CV_32FC3, "")
41+
CV_CheckTypeEQ(vertices.type(), CV_32FC3, "vertices type must be Vec3f");
4242
CV_Assert(vertices.isContinuous());
4343
if (!colors.empty())
44-
CV_CheckType(color_type, color_type == CV_8UC3 || color_type == CV_8UC4);
44+
CV_CheckType(color_type, color_type == CV_8UC3 || color_type == CV_8UC4, "unsupported type");
4545

4646
// material
4747
MaterialPtr mat = MaterialManager::getSingleton().create(name, RESOURCEGROUP_NAME);

0 commit comments

Comments
 (0)