krpano 1.19-pr13

  • Is it a known issue with text layers in VR ?

    If I create a layer through addlayer() and set its properties and the parent property with a hotspot ID, my spot and my text layer are not visible when entering VR.

    Sample :

    Einmal editiert, zuletzt von benji33 (7. November 2017 um 16:54)

  • hi,

    when updating project from pr12 to pr13 there a new bug,
    i think it's may be related to new "scope" feature for Styles,
    i use style to assign custom action to my UI buttons (OnUp) as is :

    UI btn :

    Code
    <plugin name="icon_infos_retina" style="onover_style" ...

    style :

    Code
    <style name="onover_style"
    		onup="txtadd(customised, 'button_ui_action.',get(name));customised();"
    		keep="true" preload="true" blendmode="normal" autoscale="false" handcursor="true"/>

    array of actions for UI btn :

    Code
    <button_ui_action 
    icon_thumbs_retina="action(drawer_switch);"
    		icon_infos_retina="action(infos_switch);"
    		icon_sound_on_retina="action(resume_sound);"
    		icon_sound_off_retina="action(pause_sound);"
    		icon_controls_retina="action(drawer_controls_switch);"
    />

    all runs fine with pr12,
    but when using pr13 it doesn't trigger the correct action and console show : WARNING: Unknow action: customised

    so what's the workaround ??
    or pr14 will fix it ?

    thanks *smile*

    z

  • Hi,

    when updating project from pr12 to pr13 there a new bug,
    i think it's may be related to new "scope" feature for Styles,
    i use style to assign custom action to my UI buttons (OnUp) as is :


    That's because the new version checks when calling sometime like 'customised()' and 'customised' is a variable, if that variable even contains some actions code.

    This is done to avoid problems when defining variables that have the same names as actions.
    E.g. when there is an <action> named 'test' and also a variable name 'test', then the 'test' variable would be called (now only if it contains code).

    In your case the 'customised' variable has this value:

    Code
    button_ui_action.icon_infos_retina

    But that's not a valid call (but still working in normal cases because of a 'syntax tolerance').
    A correct/valid call would look like this ( with the () ):

    Code
    button_ui_action.icon_infos_retina()

    You could change that in your code by adding a '()' in the txtadd:

    Code
    txtadd(customised, 'button_ui_action.',get(name),'()');

    Best regards,
    Klaus

  • Hello.
    I seem to have found a problem. If I change limitview="auto" to limitview="fullrange" for Flat Images, the image doesn't load correctly. I seem to be seeing a mix of image tiles from different zoom levels when trying to view the full image.

    Regards
    James.

  • Hello.
    I seem to have found a problem. If I change limitview="auto" to limitview="fullrange" for Flat Images, the image doesn't load correctly. I seem to be seeing a mix of image tiles from different zoom levels when trying to view the full image.

    Regards
    James.

    Yes it's a pr12/13 issue.
    Will be corrected into pr14.

  • Zitat

    You could change that in your code by adding a '()' in the txtadd:


    Thanks , working now *thumbsup*

    another fix i need :

    i'm trying to use the new update(); Action for scrollarea plugin but i get warning :

    the scrollarea plugin within layers :

    Code
    <layer name="scroll_text" visible="false" handcursor="false" keep="true" type="container" align="lefttop" edge="lefttop" y="0" width="100%" height="100" zorder="7" bgcolor="0x00CCFF" bgalpha="0.0">
    		 <layer name="scrollable_text" url="plugins/scrollarea.js" .........  >
                    <layer name="textfield_infos" url="plugins/textfield.swf" ........... />
    </layer>
    </layer>

    to call update :

    Code
    layer[scrollable_text].update();

    but console throw me a warning as :

    Code
    WARNING: Unknown action: plugin[scrollable_text].update

    How to correct ?

    thanks

    z

  • hi Klaus

    Speaking of autolevel / remap parameter

    now the off setting works well thanks :)

    but it doesn't seam to remap to the north when using remap option

    would it be possible to have these options?

    Code
    off : no change
    
    
    level : just levelling the image no north remap
    
    
    remap : levelling + remap to the north


    best regards

  • Hello Klaus,

    thank for the fantastic update and your great work! krpano is an important foundation of my profession.

    With the update from pr12 to pr13 I have detected a little problem: With starting VR-mode I like to align the styles of my hotspots. The following code has functioned bevor updating to pr13:

    Code
    set(style[skin_hotspotstyle].scale, 0.33);
    set(style[info].visible, false);

    Now I get the following message in the trace-box:

    Code
    WARNING: plugin[webvr]: set style[skin_hotspotstyle].scale=0.33 - 'style' is not an array! 
    WARNING: plugin[webvr]: set style[info].visible=false - 'style' is not an array!

    Is this ab bug or is there any other another workaround to solve this problem?

    Best regards
    Stefan

  • Hi,


    The problem was already reported a few posts above *wink*
    In the next release it will be fixed.

    Please see here for more:
    krpano 1.19-pr13

    Best regards,
    Klaus

  • Hi Klaus,

    Can you confirm my question about Theta remapping?

    As i read on some docs it has a built in compas so it should indicate the real north right?

    But when i use remap option the images aren't remapped to the north

    Thanks for you advise

  • hello Klaus,

    with the new editor it is impossible to show tooltip on mapspot... in skin settings i put "tooltips_mapspots="true"" but it doesn't work...
    it could be very useful to see tooltip on mapspot, do i have to use the old editor for that??
    Thank's a lot for your answer

Jetzt mitmachen!

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