Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cleanup tile picking without batch table #5305

Merged
merged 2 commits into from
May 11, 2017

Conversation

rahwang
Copy link
Contributor

@rahwang rahwang commented May 10, 2017

Cleaning up some changes introduced in #5253, as per @pjcozzi 's review.

@rahwang rahwang changed the title removing unused pickObject property, making tile feature content read… cleanup tile picking without batch table May 10, 2017
@@ -42,9 +42,11 @@ define([
* }, Cesium.ScreenSpaceEventType.MOUSE_MOVE);
*/
function Cesium3DTileFeature(tileset, content, batchId) {
this._content = content;
this._batchTable = content.batchTable;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the sake of reducing the size of a feature even further, we could remove _batchTable too since this can be accessed from content.

@lilleyse
Copy link
Contributor

All else looks good.

@rahwang
Copy link
Contributor Author

rahwang commented May 10, 2017

Good call, @lilleyse ! Fixed.

@lilleyse lilleyse merged commit b910218 into CesiumGS:3d-tiles May 11, 2017
@rahwang rahwang deleted the cleanup-tile-picking branch June 26, 2017 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants