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
Post a Comment