[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.

    2 Mal editiert, zuletzt von di0deman (24. März 2020 um 08:28)

  • 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();"
    />

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!