Hi David On 17.02.2012 17:17, David Baelde wrote: > Hi Thomas, > > On Fri, Feb 10, 2012 at 11:29 PM, thomas Buehlmann <[email protected]> wrote: >> As i unterstand switches, metadata is always taken from the first active >> source found. > Yes, and this behavior comes from add() as shown in your example. > > So all we have to do is to exchange the order of terms in the add() in > the transitions used in smooth_add(). Just copy paste the code from > utils.liq and put the "special" parts before the "normal" one in the > first transition. Great idea! I'll try this perhaps adding a smooth_add_meta( ) to my scripts for this special purpose. I always forget to look first in utis.liq. :) > Of course, copy-pasting isn't so nice and we should think of a better > solution for the future. Perhaps should we make this change to > smooth_add() by default? have an extra parameter for changing this > behavior? change add() to propagate all metadata? > > Any opinions? Tricky. I wouldn't change metadata handling on smooth_add( ) / add( ) now as this would probably break many scripts out there. There are as many reasons to show the metadata as there are also reasons NOT to show the data. So, my vote goes for an additonal parameter controlling the use of metadata. > Cheers, Anyway, thanks for helping!
Cheers, Tom ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
