Parcourir la source

decided to copy color

Adam Bowman il y a 8 ans
Parent
commit
2c8f18471f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/Culling/babylon.ray.ts

+ 1 - 1
src/Culling/babylon.ray.ts

@@ -219,7 +219,7 @@
             }
 
             if(color){
-                this._renderLine.color = color;
+                this._renderLine.color.copyFrom(color);
             }
 
         }