Hi,
I do find it's always annoying to apply several styles to a single element. Example :
Especially as I have half my hotspots with 'style1|style2' and the other half with 'style1|style3'. (style1 is like some base style to apply to all my hotspots)
Krpano documentation says it's possible to have a style in any xml element.
Let's try inheritance of styles then :
I would expect that if I apply "style2" somewhere, both "style1" and "style2" would be applied, just like style1|style2.
So I tested
<style name="style1" ... />
<style name="style2" style="style1" .../>
<hotspot name="whatever" style="style2" .../>
and ... it works! "style2" seems to be now working just like a "style1|style2"! => GREAT !
However, when tracing the hotspot.style content with a simple "trace(hotspot[whatever].style)", it gives me "style1" !?!? it should give me style="style2" for things to be right, as it's what I entered in the xml.
Is the kind of style inheritance I'm doing supported ? or is it just working "zum Glück"...it's what I suspect...
Thanks
PS: it's so close to working fine! just that trace(hotspot[].style) not working...