Merge pull request #25335 from dkurt:fix_valgrind_3d

Resolve valgrind issue in 3d module
pull/25339/head
Alexander Smorkalov 8 months ago committed by GitHub
commit 5f98674fe3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  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