alvpickmans / forge-vuer

A Vue.js Component for Forge Viewer
Other
30 stars 8 forks source link

Loading 2d DWG model fix #7

Open 6DammK9 opened 4 years ago

6DammK9 commented 4 years ago

As in version 7.22, glitch occurs when you're trying to load a 2D model ( e.g. DWG ), invalid URL will be called when you're going to use start(url, options, onSuccessCallback, onErrorCallback, initOptions). Meanwhile, a 3D view is generated even you are uploading a 2D model ( e.g. DWG ) to the OSS bucket, you will see another glitch ( word disappears ) if you try to choose a 3D view from the Document. Also If you are getting stuck in v7 migration ( breaking changes everywhere, especially in official extension ), you need to include AutodeskViewing.Private for v6 sdk. Luckily same operation in v7 won't cause crash.