Closed vadimt2 closed 3 years ago
Hi, no, the TreeViewPlugin populates itself from models as they're loaded, so it's dependent on models.
I need to load the structure without the model, i can take the source code of the viewer and make a wrapper without install the npm viewer gltf. and take the viewer from my own JS wrapper, My question is: Where in the code can i change the behavior of the GTLF plugin?
const grlf = server_response_data: if(!grlf){ // i know that i have no GLTF file.
I'm trying to use the method of addModel but i can't get the viewer.metaScene.metaModels OBserver showing empty array . I'm using vue js and only after it's mounted i can see viewer.metaScene.metaModels what can i do to see the data with the promise ?
you can tell me on which OS you are running your application ??
i'm using vue js
On Mon, Dec 7, 2020 at 5:00 PM imadBelaroussi notifications@github.com wrote:
you can tell me on which OS you are running your application ??
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/xeokit/xeokit-sdk/issues/477#issuecomment-739935758, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKGQ6TUK7MYOKTY3DUL3QJDSTTNYTANCNFSM4T3D3C3A .
Linux or Windows ??
Windows
On Mon, Dec 7, 2020, 19:00 imadBelaroussi notifications@github.com wrote:
Linux or Windows ??
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/xeokit/xeokit-sdk/issues/477#issuecomment-740009604, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKGQ6TVEWPBCT5UZ3ZZOWRDSTT32PANCNFSM4T3D3C3A .
Can't offer support for this use case, sorry - can only support use cases for which TreeViewPlugin is designed.
Is it possible to load the tree view plugin without the model?