Skip to content

Fix for ROS3D.Viewer clear color, use parseInt in order to convert hex s...#86

Merged
rctoris merged 3 commits intoRobotWebTools:developfrom
code-iai:develop
Nov 10, 2014
Merged

Fix for ROS3D.Viewer clear color, use parseInt in order to convert hex s...#86
rctoris merged 3 commits intoRobotWebTools:developfrom
code-iai:develop

Conversation

@daniel86
Copy link
Contributor

Clear color was always (0,0,0) here. I had to convert the string representation
of the hex number to int and call setClearColorHex to get the clear color working.

@rctoris
Copy link
Contributor

rctoris commented Nov 10, 2014

Build failing due to missing parameter in parseInt. See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/parseInt for info!

@daniel86
Copy link
Contributor Author

Oh stupid me. Radix must be 16. Will update my request now

rctoris added a commit that referenced this pull request Nov 10, 2014
Fix for ROS3D.Viewer clear color, use parseInt in order to convert hex s...
@rctoris rctoris merged commit 52f28af into RobotWebTools:develop Nov 10, 2014
k-aguete pushed a commit to k-aguete/ros3djs that referenced this pull request Oct 21, 2022
Also add back build folder, so users can do ```bower install roslibjs#develop``` - this should also put RobotWebTools#85 and RobotWebTools#86 to rest.

[ ] [Register](http://bower.io/#registering-packages) roslibjs with bower
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants