Sie sind nicht angemeldet.

1

Dienstag, 10. Oktober 2023, 05:27

How to disable depthmap navigation right-mouse click in specific scene krpano

Hey all,
I wanna using depthmap navigation right-mouse click in dollhouse, floorplan view and disable it in other scene
Is it possible? Thanks

2

Dienstag, 10. Oktober 2023, 10:14

Hi,

yes, but only by adjusting the depthmap_navigation.xml file.

E.g. search for this line:

Quellcode

1
if ((mouse.leftbutton && mouse.shiftkey) || mouse.middlebutton || mouse.rightbutton)

here:
https://krpano.com/viewsource.html?relea…_navigation.xml

There you could use the already there defined 'is_dollhouse_view' variable to check if in dollhouse-view,
for a 'floorplan-view' you would need a custom check.

Best regards,
Klaus