Skip to content

Commit

Permalink
Fixed problem with PTS/XYZ files where the RGB point colour is not co…
Browse files Browse the repository at this point in the history
…rrectly converted.
  • Loading branch information
digimatspa committed May 10, 2019
1 parent 685ef56 commit c93a511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PotreeConverter/include/XYZPointReader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit c93a511

Please sign in to comment.