I checked the new code is working. Better to turn off hot spots. enabled="false"
add hotspot
-
-
I have a problem with hiding the hotspots. So far I could show and hide my hotspots via a button.
Before shutting down, some hotspots may already be turned off. It is necessary to save the state of "visible" "enabled" and then turn it off. When enabled, these states restore from saved.
This can be done like this:Code
Display More<action name="Hotspot_out_on"> switch(hidden_hs); for(set(i,0), i LT hotspot.count, inc(i), for(set(j,0), j LT hotspots_to_be_toggled.supported_style.count, inc(j), if(hotspot[get(i)].style EQ hotspots_to_be_toggled.supported_style[get(j)].name, if(hidden_hs, copy(hotspot[get(i)].visible_temp, hotspot[get(i)].visible); copy(hotspot[get(i)].enabled_temp, hotspot[get(i)].enabled); set(hotspot[get(i)].visible,false); set(hotspot[get(i)].enabled,false); , copy(hotspot[get(i)].visible, hotspot[get(i)].visible_temp); copy(hotspot[get(i)].enabled, hotspot[get(i)].enabled_temp); ); ); ); ); </action>
-
update
On request, added a tab to open the scene when you click on a hotspot
Changes made:- Plugin compatibility with flat and single panoramas made.
- The interface of plugin panel has been changed (the attribute settings tab does not scroll with other tabs).
- Correction of defects.
-
great, where can we download the update?
-
I sent you a link in a personal message
-
Very good and informative plugin for all tasks of 3D tours.
-
hey,
your plugin is really great and a big time saving benefit for krpano!
I hope this is not offtopic, to write it here:
I want to enable/disable as well a group of hotspots by a button; preferably in the Nav-Bar in the bottom.
I didnt understand to e hones, nor got it run :)
Can I ask for advices?Thanks.
-
hey,
your plugin is really great and a big time saving benefit for krpano!
I hope this is not offtopic, to write it here:
I want to enable/disable as well a group of hotspots by a button; preferably in the Nav-Bar in the bottom.
I didnt understand to e hones, nor got it run :)
Can I ask for advices?Thanks.
Hello!
I understand correctly - the plugin itself works.
Is there a problem in the code that disables all hotspots?This is a list of styles from the plugin.
Code<hotspots_to_be_toggled> <supported_style name="link_hs_sm"/> <supported_style name="text_hs_sm"/> <supported_style name="vid_hs_addhs"/> <supported_style name="pl_hs_add_hs"/> </hotspots_to_be_toggled>
This button disable visibility hotspotov
Code<layer name="test" style="pan_edit_link_SM" align="lefttop" y="10" x="100" width="80" onclick="Hotspot_out_on();"> <layer name="test1" style="text_ELink_SM" align="center" x="0" y="0" html="тест" /> </layer>
This is the executable code.Code
Display More<action name="Hotspot_out_on"> switch(hidden_hs); for(set(i,0), i LT hotspot.count, inc(i), for(set(j,0), j LT hotspots_to_be_toggled.supported_style.count, inc(j), if(hotspot[get(i)].style EQ hotspots_to_be_toggled.supported_style[get(j)].name, if(hidden_hs, copy(hotspot[get(i)].visible_temp, hotspot[get(i)].visible); copy(hotspot[get(i)].enabled_temp, hotspot[get(i)].enabled); set(hotspot[get(i)].visible,false); set(hotspot[get(i)].enabled,false); , copy(hotspot[get(i)].visible, hotspot[get(i)].visible_temp); copy(hotspot[get(i)].enabled, hotspot[get(i)].enabled_temp); ); ); ); ); </action>
This is a working code, tested with a plugin. -
Hello
Added saving without editor files, significantly increases performance.
Eliminated the problem with video hotspots - the sound did not disappear when changing scenes with the editor panel inactive.
When you turn off and turn on the sound of video and audio (speaker in the control panel), the volume is now preserved.
Now when you create a hotspot, it is immediately assigned the destination of the active (selected) tab.
Fixed minor bugs.
[size=10]http://novosibpano.ru/Plugins/Add_Hotspot_en.html[/size] -
great, i want to try it
-
great, i want to try it
I can prepare a demo version - fit?
-
no, where I can download it
-
no, where I can download it
I sent the link in PM
-
Thanks ¡¡¡¡
-
"Added saving without editor files, significantly increases performance"
please. Can you explain me about this? how this work -
"Added saving without editor files, significantly increases performance"
please. Can you explain me about this? how this work -
hi
If I am working on a project with the previous version, how should I do to update to the new version and continue working on the project?
I try but due to the incorporation of new folders and change hosting xml files I could not do it correctly -
hi
If I am working on a project with the previous version, how should I do to update to the new version and continue working on the project?
I try but due to the incorporation of new folders and change hosting xml files I could not do it correctlyChange inclusion
<include url="add_hotspot/plugins_l/editor/add_hotspot.xml"" />
Replace the entire add_hotspot folder
Leave your file save_hotspot.xml
Finished work, connect so:
<include url="add_hotspot/plugins_l/add_hotspot_2.xml"" /> -
I understand correctly - the plugin itself works.
Is there a problem in the code that disables all hotspots?Perfect. With you suggestion and after adding
..it worked flawlessly. -
Yes, I forgot to display this moment above, corrected
-
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!