1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-21 19:33:03 +04:00

Merge pull request #25335 from dkurt:fix_valgrind_3d

Resolve valgrind issue in 3d module
This commit is contained in:
Alexander Smorkalov
2024-04-04 18:01:24 +03:00
committed by GitHub
+1
View File
@@ -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;
});
}