Skip to content

Commit

Permalink
Copy fix from CesiumGS#2630.
Browse files Browse the repository at this point in the history
  • Loading branch information
emackey committed Apr 10, 2015
1 parent 1bdcab5 commit d9ed942
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Scene/PointPrimitiveCollection.js
Original file line number Diff line number Diff line change
Expand Up @@ -668,10 +668,11 @@ define([
* @private
*/
PointPrimitiveCollection.prototype.update = function(context, frameState, commandList) {
removePointPrimitives(this);

var pointPrimitives = this._pointPrimitives;
var pointPrimitivesLength = pointPrimitives.length;

removePointPrimitives(this);
updateMode(this, frameState);

pointPrimitives = this._pointPrimitives;
Expand Down

0 comments on commit d9ed942

Please sign in to comment.