Skip to content

Commit

Permalink
Merge pull request #7686 from virtualcitySYSTEMS/fix-anchorLineColor
Browse files Browse the repository at this point in the history
fixed an Error where the AnchorlineColor reused the given color
  • Loading branch information
lilleyse authored Mar 29, 2019
2 parents 3df6322 + 63ecf44 commit 646faf6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Change Log
for pitches close to +/- 90°. [#7654](https://github.com/AnalyticalGraphicsInc/cesium/pull/7654)
* Fixed a type of crash caused by the camera being rotated through terrain. [#6783](https://github.com/AnalyticalGraphicsInc/cesium/issues/6783)
* Fixed an error in `Resource` when used with template replacements using numeric keys. [#7668](https://github.com/AnalyticalGraphicsInc/cesium/pull/7668)
* Fixed an error in `Cesium3DTilePointFeature` where `anchorLineColor` used the same color Instance instead of cloning the color [#7686](https://github.com/AnalyticalGraphicsInc/cesium/pull/7686)

### 1.55 - 2019-03-01

Expand Down
2 changes: 1 addition & 1 deletion Source/Scene/Cesium3DTilePointFeature.js
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ define([
return this._polyline.material.uniforms.color;
},
set : function(value) {
this._polyline.material.uniforms.color = value;
this._polyline.material.uniforms.color = Color.clone(value, this._polyline.material.uniforms.color);
}
},

Expand Down

0 comments on commit 646faf6

Please sign in to comment.