Skip to content

Commit

Permalink
PCDLoader: Always use white as default color. (#24339)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 committed Jul 12, 2022
1 parent 9c1a355 commit b512875
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions examples/jsm/loaders/PCDLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -397,10 +397,6 @@ class PCDLoader extends Loader {

material.vertexColors = true;

} else {

material.color.setHex( Math.random() * 0xffffff );

}

// build point cloud
Expand Down
Binary file modified examples/screenshots/webgl_loader_pcd.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b512875

Please sign in to comment.