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:
@@ -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;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user