Resolve valgrind issue in 3d module

pull/25335/head
Dmitry Kurtaev 11 months ago
parent 5144766380
commit ba62811cc8
  1. 1
      modules/3d/src/rgbd/volume_impl.cpp

@ -563,6 +563,7 @@ void ColorTsdfVolume::reset()
{
RGBTsdfVoxel& v = reinterpret_cast<RGBTsdfVoxel&>(vv);
v.tsdf = floatToTsdf(0.0f); v.weight = 0;
v.r = v.g = v.b = 0;
});
}

Loading…
Cancel
Save