Tango: Fixed typo making textures not appearing...

This commit is contained in:
matlabbe
2016-09-07 20:25:41 -04:00
parent d252b1fb13
commit 53c3981651

View File

@@ -176,7 +176,7 @@ void PointCloudDrawable::updateMesh(const Mesh & mesh)
} }
bool textureUpdate = false; bool textureUpdate = false;
if(!mesh.texture.empty() && mesh.texture.type() == CV_32FC3) if(!mesh.texture.empty() && mesh.texture.type() == CV_8UC3)
{ {
if (textures_) if (textures_)
{ {