From c93a51151ba0ac1892da87761f549a5a1ea2e78c Mon Sep 17 00:00:00 2001 From: digimatspa Date: Fri, 10 May 2019 15:11:35 +0100 Subject: [PATCH] Fixed problem with PTS/XYZ files where the RGB point colour is not correctly converted. --- PotreeConverter/include/XYZPointReader.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PotreeConverter/include/XYZPointReader.hpp b/PotreeConverter/include/XYZPointReader.hpp index ca78adba..4882dddc 100644 --- a/PotreeConverter/include/XYZPointReader.hpp +++ b/PotreeConverter/include/XYZPointReader.hpp @@ -97,7 +97,7 @@ class XYZPointReader : public PointReader{ } int i = 0; - for(const auto &f : format) { + for(const auto &f : this->format) { string token = tokens[i++]; if(f == 'r'){ max = std::max(max, stof(token));