<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Stop pruning default values from XML?]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/1">@Christoph-Hart</a> If I patch my build of HISE to stop pruning default values when serialising the XML, will it have knock-on effects?</p>
<pre><code>// hi_scripting/scripting/api/ScriptingApiContent.h

834      Array&lt;Identifier&gt; deactivatedProperties;
835      Array&lt;Identifier&gt; priorityProperties;
836
837 -    bool removePropertyIfDefault = true;
837 +    // meatbeats: stop pruning default values to reduce git noise
838 +    bool removePropertyIfDefault = false;
839
840      CustomAutomationPtr currentAutomationData;
</code></pre>
<p dir="auto">I get a small amount of git noise from the pruning of default values when I save. It's nothing horrible, but I'd like to remove it.</p>
<p dir="auto">I'm personally fine with default values hanging around in the XML. But will it have side-effects?</p>
]]></description><link>https://forum.hise.audio/topic/14850/stop-pruning-default-values-from-xml</link><generator>RSS for Node</generator><lastBuildDate>Sat, 13 Jun 2026 15:54:24 GMT</lastBuildDate><atom:link href="https://forum.hise.audio/topic/14850.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 13 Jun 2026 13:04:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Stop pruning default values from XML? on Sat, 13 Jun 2026 13:56:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/357">@dannytaurus</a> said in <a href="/post/121247">Stop pruning default values from XML?</a>:</p>
<blockquote>
<p dir="auto">because I'm setting some values in script that happen to be default values.</p>
</blockquote>
<p dir="auto">Hmm this might be the source of an issue I was having too, I might try it.</p>
]]></description><link>https://forum.hise.audio/post/121248</link><guid isPermaLink="true">https://forum.hise.audio/post/121248</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Sat, 13 Jun 2026 13:56:54 GMT</pubDate></item><item><title><![CDATA[Reply to Stop pruning default values from XML? on Sat, 13 Jun 2026 13:56:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/449">@ustk</a> I'll try it and see how the XML comes out. <img src="https://forum.hise.audio/assets/plugins/nodebb-plugin-emoji/emoji/android/1f44d.png?v=fba14f4754a" class="not-responsive emoji emoji-android emoji--+1" style="height:23px;width:auto;vertical-align:middle" title=":+1:" alt="👍" /></p>
<p dir="auto">I was getting flip-flop noise in my XML after saving. On some saves, the default params were added, on other saves they were removed.</p>
<p dir="auto">Something to do with CSS-LAF timing, according to Claude, because I'm setting some values in script that happen to be default values.</p>
]]></description><link>https://forum.hise.audio/post/121247</link><guid isPermaLink="true">https://forum.hise.audio/post/121247</guid><dc:creator><![CDATA[dannytaurus]]></dc:creator><pubDate>Sat, 13 Jun 2026 13:56:09 GMT</pubDate></item><item><title><![CDATA[Reply to Stop pruning default values from XML? on Sat, 13 Jun 2026 13:49:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/357">@dannytaurus</a> I reckon this has been added quite recently with the intention to remove the noise.<br />
So if it always worked before I see no harm in disabling it.</p>
]]></description><link>https://forum.hise.audio/post/121246</link><guid isPermaLink="true">https://forum.hise.audio/post/121246</guid><dc:creator><![CDATA[ustk]]></dc:creator><pubDate>Sat, 13 Jun 2026 13:49:08 GMT</pubDate></item></channel></rss>