-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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 classification type not getting propagated properly for dynamic entities on terrain #6608
fix classification type not getting propagated properly for dynamic entities on terrain #6608
Conversation
…ntities on terrain
@likangning93, thanks for the pull request! Maintainers, we have a signed CLA from @likangning93, so you can review this at any time.
I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome. 🌍 🌎 🌏 |
Can we easily add a unit test here? @hpinkos please review/merge when happy. Thanks to both of you! |
@likangning93 yeah, can you add a test to |
@hpinkos ready! |
@@ -154,6 +156,24 @@ define([ | |||
dynamicUpdater.destroy(); | |||
updater.destroy(); | |||
}); | |||
|
|||
it('dynamic updater on terrain propagates classification type', function() { | |||
var entity = createDynamicEntity(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of setting classificationType
in each of the XXXGeometryUpdaterSpec
files, do entity[geometryPropertyName].classificationType = ClassificationType.BOTH
in this file
@hpinkos updated |
Perfect, thanks @likangning93! |
Fixes #6606