From b5013c3fc62a7784a6df657da2e106ceb40dad57 Mon Sep 17 00:00:00 2001 From: lzwdgc Date: Wed, 16 Sep 2020 14:19:34 +0300 Subject: [PATCH] Write raw r16 heightmap back again. --- src/mmp_extractor/mmp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mmp_extractor/mmp.cpp b/src/mmp_extractor/mmp.cpp index aeb7cf9..99fbc30 100644 --- a/src/mmp_extractor/mmp.cpp +++ b/src/mmp_extractor/mmp.cpp @@ -395,7 +395,7 @@ void mmp::writeHeightMap() cv::imwrite((const char *)to_path_string(path(filename) += ".heightmap16.png").c_str(), toCvMat(heightmap)); - //write_hm(".heightmap16.r16", heightmap, sizeof(decltype(heightmap)::type)); + write_hm(".heightmap16.r16", heightmap, sizeof(decltype(heightmap)::type)); write_hm(".heightmap32.r32", heightmap32, sizeof(decltype(heightmap32)::type)); }