-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot create second 3d controller - it just duplicates first one #36
Comments
You need to create separate controller for each model viewer, for example if you have 3 model viewer then you need to create 3 controller |
Of course I do create separate controllers (can provide you with code example if it is necessary). Seems like there is something underhood the controller with shared state or something like that. |
Ok then send your code for further progress, because I can't see the issue you mentioned in my case |
It is just yours modified example. Take a note, that controller is attached to second model viewer but in fact it displays textures from first model viewer. If two controllers are created (viewer1 - controller1 and viewer2 - controller2, controller2 is attached to viewer1 also). |
Hi again, |
I have fixed this issue in v2.0.2. Please check out the latest version. Let me know if you find any other issues. |
Yes, now it is working! Thanks a lot! |
I have viewer with controller on the main screen and they work perfectly fine. But if I try to create second viewer in modal window (so first viewer still present on screen) with another controller it seems like both controllers are the same and control viewer on the main screen.
The text was updated successfully, but these errors were encountered: