-
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
Drill picking polygons causes browser to hang #5971
Comments
@pjcozzi The git bisect result is 8e7b0a6ca479400a747b1dd8173b65a1d00cbe22. |
@bagnell Will you be able to look at this for 1.40? |
@bagnell reminder to look at this. We should really try to fix this before the release goes out on Friday |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After upgrading from 1.38 to 1.39, drill picking certain polygons causes the browser to hang in an infinite loop at this spot in the code.
After quite a bit of debugging, I discovered that this happens on polygons that are missing a
height
attribute, even though the API says it's an optional property. To fix the issue in 1.39 apps, you can explicitly set the height of all polygons to 0.0 (the default). This isn't really a true workaround though, as your polygon will no longer conform to the terrain as it did when you completely omitted the property.For example, drill-picking the polygon in this Sandcastle example will result in the browser hanging. Add in
height: 0.0
and the drill picker will work again (albeit underground if you have terrain enabled).EDIT: This applies to other primitives too -- not just polygons.
The text was updated successfully, but these errors were encountered: