Bug in Scene.drillPick?

Hello everyone. There is a cycle in the function which becomes infinite.

while (defined(pickedResult) && defined(pickedResult.primitive)).

Could you tell me in which cases the function Scene.pick returns the same primitive (Label)? Unfortunately, i can't send the part of code, but Label is "shaking" when the camera is rotating and the browser is frozen after calling Scene.drillPick with the window coordinates.

Cesium version 1.25.
Thank you!


Sorry, I can’t tell exactly what is going on without seeing the whole loop. Most often, while loops go infinite when you’re not iterating properly though whichever thing is supposed to be changing.

I don’t know of any bugs in drillPick. See the drill down picking example in this demo: http://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Picking.html&label=Showcases