[Solved]Thumbs are not updated when another pano is loaded.

  • Hi,
    I created a_type.xml, b_type.xml, c_type.xml, d_type.xml.
    This is a pano xml that contains scenes.


    Load using the loadpanoscene() function through 4 buttons.


    The code of the button layer is shown below.


    Code
    <layer name="load_a_type" style="button" align="bottom" x="-300" y="60" width="100" keep="true"
    html="A-TYPE"
    onclick="loadpanoscene(a_type.xml, scene_on_1stroom);"
    />

    If you load another pano through the button, the thumbnails will not update to the new pano.


    Thank you.

    Edited 2 times, last by di0deman (March 24, 2020 at 8:28 AM).

  • I fixed it by changing the button layer code as below.


    Code
    <layer name="load_a_type" style="button" align="bottom" x="-300" y="60" width="100" keep="true"
    html="A-TYPE"
    onclick="loadpanoscene(a_type.xml, scene_on_1stroom);skin_startup();"
    />

Participate now!

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