(Solved) set(view.vlookatmin/max) not working since krpano 1.0.8.15 (build 2012-10-05)

  • Hi, I used to use the following code to set the view.vlookatmin/max values dynamically:

    Code
    set(view.limitview,lookat);set(view.vlookatmin,0);set(view.vlookatmax,0)

    This worked fine under 1.0.8.14, but since updating to 1.0.8.15 the vertical limits are unaffected. Is there a reason why this no longer works?
    Thanks in advance.

  • Thought I'd follow this up as my issue is now resolved after contacting Klaus:

    Quote

    this is still working of course, but the viewing limits were reset back to default when loading a new pano - maybe this is the problem in your case...

    Klaus was correct - I was setting the pan limit before the first scene loaded. While this used to set the limits for the entire tour, it was not automatically being overwritten the settings from the scenes themselves.

    Adding the code I originally posted to the "onnewpano" event fixed the problem.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!