autodesk forge - Enable VR mode flips ViewCube -


the viewcube flips bottom side of viewcube up, once click 'enable vr mode' button menu. model stays right side up, viewcube flips.

if compare example http://viewervr.herokuapp.com/, seems viewcube stays correctly.

i loading webvr extension follows:

public initialize(): void {    const options = {       'env': 'autodeskproduction',       'getaccesstoken': this.gettoken,       'refreshtoken': this.gettoken    };    const element = document.getelementbyid(this.id);    this.viewer = new avp.guiviewer3d(element);     av.initializer(    options,    () => {       this.viewer.initialize();       this.initiliazedefaultsettings();       this.initiliazeeventlisteners();                           this.loaddocument(this.urn);       this.viewer.loadextension('autodesk.viewing.webvr');    }); } 

how fix this?


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -