Skip to content

Commit 646faf6

Browse files
authored
Merge pull request #7686 from virtualcitySYSTEMS/fix-anchorLineColor
fixed an Error where the AnchorlineColor reused the given color
2 parents 3df6322 + 63ecf44 commit 646faf6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGES.md

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Change Log
2020
for pitches close to +/- 90°. [#7654](https://github.com/AnalyticalGraphicsInc/cesium/pull/7654)
2121
* Fixed a type of crash caused by the camera being rotated through terrain. [#6783](https://github.com/AnalyticalGraphicsInc/cesium/issues/6783)
2222
* Fixed an error in `Resource` when used with template replacements using numeric keys. [#7668](https://github.com/AnalyticalGraphicsInc/cesium/pull/7668)
23+
* 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)
2324

2425
### 1.55 - 2019-03-01
2526

Source/Scene/Cesium3DTilePointFeature.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ define([
463463
return this._polyline.material.uniforms.color;
464464
},
465465
set : function(value) {
466-
this._polyline.material.uniforms.color = value;
466+
this._polyline.material.uniforms.color = Color.clone(value, this._polyline.material.uniforms.color);
467467
}
468468
},
469469

0 commit comments

Comments
 (0)