Skip to content

Commit 7f0bb37

Browse files
add "Cd" channel
1 parent a8d33af commit 7f0bb37

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/tools/partview.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,8 @@ static void render()
138138
if (!particles->attributeInfo("rgbPP", colorAttr) &
139139
!particles->attributeInfo("rgb", colorAttr) &
140140
!particles->attributeInfo("color", colorAttr) &
141-
!particles->attributeInfo("pointColor", colorAttr))
141+
!particles->attributeInfo("pointColor", colorAttr) &
142+
!particles->attributeInfo("Cd", colorAttr))
142143
{
143144
//std::cerr<<"Failed to find color attribute "<<std::endl;
144145
colorMissing = true;

0 commit comments

Comments
 (0)