Forge viewer: setNavigationLock does not work properly in BimWalk mode

Viewed 87

If setting the navigation lock when in BimWalk mode, mouse gestures in the viewer seem to take effect when the navigation lock is deactivated. This does not happen in orbit mode.

Steps to reproduce:

  • Open a model, e.g. at https://lmv.ninja.autodesk.com/
  • Enable First Person mode (BimWalk)
  • In the debugging console, call NOP_VIEWER.setNavigationLock(true)
  • Do a dragging gesture in the viewer. Nothing moves, as expected.
  • Call NOP_VIEWER.setNavigationLock(false)
  • The view moves, seemingly according to the last mouse gesture that was made.

I assume this is not expected behavior? Is there a way to avoid it?

1 Answers

You're right, I've been able to reproduce the issue. Good catch! Let me report the issue to the engineering team, and please stay tuned for updates on the changelog to see when the issue is fixed.

Related