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

Fix C3DTilesLayer and C3DTFeature #2222

Merged
merged 1 commit into from
Nov 13, 2023

Conversation

valentinMachado
Copy link
Contributor

Description

C3DTFeature reference the THREE.Object3D where they belong.
computeWorldBox3 is now a method of C3DTFeature possible due to the latter modification
Some code clean.
updateStyle is call after dispacthing event ON_TILE_CONTENT_LOADED

Motivation and Context

C3DTFeature reference the THREE.Object3D where they belong.
=> tileContent can have different child with feature in it which was not handle by the previous code
updateStyle is call after dispacthing event ON_TILE_CONTENT_LOADED
=> when listener of this event influences C3DTilesLayer style the user does not have to call an extra updateStyle of the layer

waiting this to be approved to rename commits name

Copy link
Contributor

@jailln jailln left a comment

Choose a reason for hiding this comment

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

Ok for me 👍 thanks !

@valentinMachado
Copy link
Contributor Author

Great ! I've made a single commit, and CI is working.

@valentinMachado valentinMachado force-pushed the fix-C3DTfeatures-init branch 2 times, most recently from e3bf3bb to 27ed48f Compare November 8, 2023 15:33
…C3DTFeature.

BREAKING CHANGE: C3DTFeature constructor changed from (tileId, batchId, groups, info, userData) to (tileId, batchId, groups, info, userData, object3d)
@jailln jailln merged commit 219e015 into iTowns:master Nov 13, 2023
7 checks passed
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