See my comment here
https://github.com/musescore/MuseScore/pull/1946/files#r30050097

lasconic

2015-05-11 17:27 GMT+02:00 Jim Newton <[email protected]>:

> I have apparently introduced a bug into my branch of musescore.
> The Glissando class which inherits from SLine, now write the xml tag
> <noOffset>3</noOffset>
> rather than the expected <anchor>3</anchor>.
> I've tracked this down in the code, sort of.
>
> The method  Glissando::writeProperties explicitly calls
> SLine::writeProperties.
> While debugging i've replaced the line in that function:
>
>     writeProperty(xml, P_ID::ANCHOR);
>
> with
>
>       xml.tag("x1","[");
>       writeProperty(xml, P_ID::ANCHOR);
>       xml.tag("x2","]");
>
> And what I see in the xml file is the following:
>
>             <Glissando id="2">
>               <text>gliss.</text>
>               <subtype>1</subtype>
>               <playGlissando>false</playGlissando>
>               <glissandoStyle>Black keys</glissandoStyle>
>               <diagonal>1</diagonal>
>               <lineWidth>0.15</lineWidth>
>               <x1>[</x1>
>               <noOffset>3</noOffset>
>               <x2>]</x2>
>               </Glissando>
>
> Apparently I've done something which causes       writeProperty(xml,
> P_ID::ANCHOR);
> to write the noOffset label instead.
>
> Does that make sense to anyone?
>
>
>
> --
> View this message in context:
> http://dev-list.musescore.org/help-to-understand-writeProperty-xml-tp7579332.html
> Sent from the MuseScore Developer mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> Mscore-developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mscore-developer
>
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Mscore-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mscore-developer

Reply via email to