Skip to content

Commit

Permalink
Merge pull request #6605 from AnalyticalGraphicsInc/ground-batch-remo…
Browse files Browse the repository at this point in the history
…ve-fix

Fix StaticGroundGeometryXXXBatch.remove
  • Loading branch information
mramato authored May 22, 2018
2 parents ae9268c + 55f7fe4 commit 3300963
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Source/DataSources/StaticGroundGeometryColorBatch.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ define([
this.subscriptions.remove(id);
this.showsUpdated.remove(id);
}
return true;
}
return false;
};

var scratchArray = new Array(4);
Expand Down
3 changes: 2 additions & 1 deletion Source/DataSources/StaticGroundGeometryPerMaterialBatch.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,9 @@ define([
unsubscribe();
this.subscriptions.remove(id);
}
return true;
}
return this.createPrimitive;
return false;
};

Batch.prototype.update = function(time) {
Expand Down

0 comments on commit 3300963

Please sign in to comment.