<?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[Editors]]></title><description><![CDATA[Everything about the development of editors]]></description><link>https://forum.samson-connect.net/category/24</link><generator>RSS for Node</generator><lastBuildDate>Wed, 17 Jun 2026 01:14:31 GMT</lastBuildDate><atom:link href="https://forum.samson-connect.net/category/24.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 06 Jul 2018 11:03:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Adapt Rendering Settings]]></title><description><![CDATA[<p dir="auto">I created a ticket.<br />
thanks for your answer!</p>
]]></description><link>https://forum.samson-connect.net/topic/59/adapt-rendering-settings</link><guid isPermaLink="true">https://forum.samson-connect.net/topic/59/adapt-rendering-settings</guid><dc:creator><![CDATA[Maximilian]]></dc:creator><pubDate>Fri, 06 Jul 2018 11:03:16 GMT</pubDate></item><item><title><![CDATA[Solved: Exposition of a getter returning SBHashMap]]></title><description><![CDATA[<p dir="auto">Hi everyone,</p>
<p dir="auto">I had an issue that Stephane and my self managed to solve so I post the fix here because it might be useful for other people that could face the same error.</p>
<p dir="auto">So, I have an importer where I store an SBHashMap and I wanted to expose the getter returning this SBHashMap. To do so, I added the following line to the descriptor of my importer like it is supposed to be done for functions exposition:</p>
<pre><code>SB_INTERFACE_BEGIN;

SB_STATIC_FUNCTION_0(SBHashMap&lt;CustomClass1*, CustomClass2*&gt;*, SECustomImporter, getHashMap);

SB_INTERFACE_END;

</code></pre>
<p dir="auto">But it was not compiling and it was throwing errors saying that the number of arguments of SB_STATIC_FUNCTION_0 was not sufficient. This error might be due to the SBHashMap macro which was not unfolded in a good way.</p>
<p dir="auto">To fix this error we tried to typedef the SBHashMap&lt;CustomClass1*, CustomClass2*&gt; before exposing it like this:</p>
<pre><code>typedef SBHashMap&lt;CustomClass1*, CustomClass2*&gt; CustomHashMap;
SB_REGISTER_TYPE(CustomHashMap, "CustomHashMap", "c5e7844d-1788-41ac-872d-e3d3e9a3c768")
</code></pre>
<p dir="auto">As you can see we also registered this now object in the second line using SB_REGISTER_TYPE. Then we modified the exposition like this:</p>
<pre><code>SB_INTERFACE_BEGIN;

SB_STATIC_FUNCTION_0(CustomHashMap*, SECustomImporter, getHashMap);

SB_INTERFACE_END;
</code></pre>
<p dir="auto">This worked perfectly ! If you have troubles with this fix do not hesitate to reply to this post.</p>
]]></description><link>https://forum.samson-connect.net/topic/31/solved-exposition-of-a-getter-returning-sbhashmap</link><guid isPermaLink="true">https://forum.samson-connect.net/topic/31/solved-exposition-of-a-getter-returning-sbhashmap</guid><dc:creator><![CDATA[Yassine]]></dc:creator><pubDate>Wed, 21 Feb 2018 15:45:06 GMT</pubDate></item><item><title><![CDATA[Transparency or Depth related issue in Editors]]></title><description><![CDATA[<p dir="auto">Hi @Stephane-Redon,</p>
<p dir="auto">ah yes, it was the depth test. This solves it!</p>
<p dir="auto">Thanks,<br />
Haichao</p>
]]></description><link>https://forum.samson-connect.net/topic/29/transparency-or-depth-related-issue-in-editors</link><guid isPermaLink="true">https://forum.samson-connect.net/topic/29/transparency-or-depth-related-issue-in-editors</guid><dc:creator><![CDATA[Haichao]]></dc:creator><pubDate>Tue, 20 Feb 2018 16:52:37 GMT</pubDate></item></channel></rss>