You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This causes viewer on start to look at even if autoRotate is not set in scene options
The autoRotateInactivityDelay option isn't meant to be used if the autoRotate option is not used. Despite this, I made a change in 83084e8 to prevent it from doing anything.
how can I manually use Viewer.startAutoRotate and still have autoRotateInactivityDelay option?
The startAutoRotate method has an optional inactivityDelay parameter, which needs to be set if you want an inactivity delay when using the method. Regardless of the initial configuration, the stopAutoRotate method will remove any existing inactivity delay settings, so even if one existed originally, you'd still need to set it when calling startAutoRotate.
Sorry, it was added in a84fc56 and is not in the v2.5.6 release, which is what the documentation on pannellum.org corresponds to. You can look at the docstring in src/js/pannellum.js.
I am not sure if I got this correctly.
I start / stop autoRotate manually on button using Viewer.startAutoRotate / stopAutoRotate.
I still want to have autoRotateInactivityDelay set in settings.
This causes viewer on start to look at even if autoRotate is not set in scene options, for example:
I dont want this to happen.
If I look into pannellum.js it seems this code is running on start:
If this is the case, how can I manually use Viewer.startAutoRotate and still have autoRotateInactivityDelay option?
The text was updated successfully, but these errors were encountered: