From b128d7356123464f5f659049a579b759af8c8924 Mon Sep 17 00:00:00 2001 From: jbo023 Date: Thu, 28 Mar 2019 14:10:43 +0100 Subject: [PATCH 1/2] fixed an Error where the AnchorlineColor reused the given color --- Source/Scene/Cesium3DTilePointFeature.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Scene/Cesium3DTilePointFeature.js b/Source/Scene/Cesium3DTilePointFeature.js index 546572e2881e..6d9e4f5cae28 100644 --- a/Source/Scene/Cesium3DTilePointFeature.js +++ b/Source/Scene/Cesium3DTilePointFeature.js @@ -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); } }, From 63ecf441297efc9bc6829a4d86e84b17fafe39dd Mon Sep 17 00:00:00 2001 From: jbo023 Date: Thu, 28 Mar 2019 14:18:01 +0100 Subject: [PATCH 2/2] updateChanges.md --- CHANGES.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGES.md b/CHANGES.md index 19eac63f74a7..bb1bf22b7cc0 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -19,6 +19,7 @@ Change Log * Fixed `HeadingPitchRoll.pitch` being `NaN` when using `.fromQuaternion` do to a rounding error for pitches close to +/- 90°. [#7654](https://github.com/AnalyticalGraphicsInc/cesium/pull/7654) * 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