Page 1 of 1

Pano2VR Version: 7.0 beta 4a - setPolygonMode Issue

Posted: Wed Sep 28, 2022 1:33 pm
by HSharma​
Hi,
I have certain poly hotspots which are set to be always hidden in pano2VR.
I created a button, which will toggle these polygon from visible to not visible.
The problem is that when I call pano.setPolygonMode(1,0), the polys are visible, however when I call pano.setPolygonMode(0,0), the Polygon are still visible. In theory they should be invisible now.

Please let me know when will this be fixed.

thanks
Harsh

Re: Pano2VR Version: 7.0 beta 4a - setPolygonMode Issue

Posted: Wed Sep 28, 2022 3:40 pm
by Hopki
Hi Harsh,
Why not use the skin's actions?
Is there a reason why you are using the javascript calls?
Regards,

Re: Pano2VR Version: 7.0 beta 4a - setPolygonMode Issue

Posted: Wed Sep 28, 2022 6:15 pm
by HSharma​
Hi Hopki,
Yes, there is a reason I have to use it in Javascript call.. It should, however work irrespective. Right?

Re: Pano2VR Version: 7.0 beta 4a - setPolygonMode Issue

Posted: Wed Sep 28, 2022 10:23 pm
by Hopki
Hi,
Just tested it and it's working.
Please find attached a project that is using javascript calls.
Regards,