Skip to content

Commit d9ed942

Browse files
committed
Copy fix from CesiumGS#2630.
1 parent 1bdcab5 commit d9ed942

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Source/Scene/PointPrimitiveCollection.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -668,10 +668,11 @@ define([
668668
* @private
669669
*/
670670
PointPrimitiveCollection.prototype.update = function(context, frameState, commandList) {
671+
removePointPrimitives(this);
672+
671673
var pointPrimitives = this._pointPrimitives;
672674
var pointPrimitivesLength = pointPrimitives.length;
673675

674-
removePointPrimitives(this);
675676
updateMode(this, frameState);
676677

677678
pointPrimitives = this._pointPrimitives;

0 commit comments

Comments
 (0)