Skip to content

Commit

Permalink
Material is a direct property of Arrow
Browse files Browse the repository at this point in the history
  • Loading branch information
Guilherme Lawless committed Mar 16, 2016
1 parent e4ca47a commit 3bb2fcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/Arrow.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,5 @@ ROS3D.Arrow.prototype.setLength = function(length) {
* @param hex - the hex value of the color to use
*/
ROS3D.Arrow.prototype.setColor = function(hex) {
this.geometry.material.color.setHex(hex);
this.material.color.setHex(hex);
};

0 comments on commit 3bb2fcf

Please sign in to comment.