-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix raycaster overriding line default color #4743
Conversation
For now, I just changed the source-code. If this is accepted, I guess I should update |
Using |
I agree with you. In that case, it should be possible to change the "laser" opacity (without depending on
Yes it does. It's juste that the "Customizing the Line" on laser-controls and "Customizing the Line" on raycaster on the documentation are not working. |
What about modifying this PR to add a |
I don't see any update on the docs yet. I can edit them if you want. Should I push update to the |
Thanks. Can you edit the docs as part of this PR? The new Don't push changes on the |
Thanks for remembering the tests. Merci, bien fait! Congrats on your first contribution! 🥳 |
Description:
When creating a
raycaster
(or alaser-controls
for ease of testing), it assigns a default value to theline
's color.It means that the example doesn't works:
My fix keep the
raycaster
'slineColor
property for backward compatibility. But in my opinion, it should be deprecated in favor ofline
'scolor
property.Changes proposed:
raycaster
'slineColor
property.Reproduction
The opacity is working but not the color.