diff options
-rw-r--r-- | src/main/java/org/jogamp/java3d/utils/geometry/Stripifier.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/org/jogamp/java3d/utils/geometry/Stripifier.java b/src/main/java/org/jogamp/java3d/utils/geometry/Stripifier.java index f6353e1..7e4d5b9 100644 --- a/src/main/java/org/jogamp/java3d/utils/geometry/Stripifier.java +++ b/src/main/java/org/jogamp/java3d/utils/geometry/Stripifier.java @@ -2076,7 +2076,9 @@ public class Stripifier { } if (hasColors) colors[count] = currStrip.istream[j].color; if (colorStrips) stripColors[count] = - new org.jogamp.vecmath.Color3b(stripColor); + new org.jogamp.vecmath.Color3b((byte)stripColor.getRed(), + (byte)stripColor.getGreen(), + (byte)stripColor.getBlue()); count++; } } |