Skip to content

Commit

Permalink
add "Cd" channel
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeySmolenchuk committed Jan 26, 2025
1 parent a8d33af commit 7f0bb37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tools/partview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ static void render()
if (!particles->attributeInfo("rgbPP", colorAttr) &
!particles->attributeInfo("rgb", colorAttr) &
!particles->attributeInfo("color", colorAttr) &
!particles->attributeInfo("pointColor", colorAttr))
!particles->attributeInfo("pointColor", colorAttr) &
!particles->attributeInfo("Cd", colorAttr))
{
//std::cerr<<"Failed to find color attribute "<<std::endl;
colorMissing = true;
Expand Down

0 comments on commit 7f0bb37

Please sign in to comment.