drillPick in ScreenSpaceEventType.MOUSE_MOVE breaks camera movements when google3DTileset is enabled

Hi!
I noticed that when calling drillPick in my custom ScreenSpaceEventTypeHandler for the MOUSE_MOVE event this causes the normal camera movement to break when at the same time the google3DTileset is enabled.

Here is an example: Sandcastle

It’s no longer possible to move the camera when holding the left mouse button. You can only rotate/pan the camera.

Do you have an idea how to solve this? I’m out of ideas …

Thank you!

Hi @inspire1989,

I think this is the bug you’re seeing. I’ll add your report to that issue.

In the meantime, you can call scene.render immediately after the call to drillPick and it should workaround the bug.


function mouseOverListener(movement) {
  // uncomment this line and left-click camera movements work again
  viewer.scene.drillPick(movement.endPosition);
  viewer.scene.render();
}

1 Like

oh wow that was it indeed! Thank you so much!!