Yes, that is what I ment but is it ok to add an UI parameter &quot;ofset&quot; with is button &quot;Inv ofset&quot; at the side of the Lift gamma and gain parameters because the UI will get really charged.<br><br>And what about an image treatment library, because I already have made this function in my keyer node and crating a color correction node with these controls might be usefull also: this will result in a lot of code duplication.<br>
<br><br><div class="gmail_quote">2008/12/10 Dalai Felinto <span dir="ltr">&lt;<a href="mailto:dfelinto@gmail.com">dfelinto@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Xavier.<br>
<br>
Can&#39;t you do a do_version()?<br>
In readfile.c you can see a lot of parameters that need to be updated<br>
over Blender version.<br>
If what you need is a simple offset for old blender files work in the<br>
same way as new blender files (with this bug fixed), this should work.<br>
<br>
I didn&#39;t see the bug or this part of the code, but do_version()<br>
sometimes is the better way to go.<br>
<br>
Cheers,<br>
Dalai<br>
<a href="http://blenderecia.orgfree.com" target="_blank">http://blenderecia.orgfree.com</a><br>
<br>
2008/12/10 Xavier Thomas &lt;<a href="mailto:xavier.thomas.1980@gmail.com">xavier.thomas.1980@gmail.com</a>&gt;:<br>
<div><div></div><div class="Wj3C7c">&gt; Hello,<br>
&gt;<br>
&gt; Lately, I was trying to implicate me in blender developement, &nbsp;and begining<br>
&gt; with small things (after the keyr node) I &nbsp;desided to correct this bug:<br>
&gt; <a href="http://projects.blender.org/tracker/index.php?func=detail&amp;aid=18010&amp;group_id=9&amp;atid=125" target="_blank">http://projects.blender.org/tracker/index.php?func=detail&amp;aid=18010&amp;group_id=9&amp;atid=125</a><br>

&gt;<br>
&gt; Basicly the lift parameter of color correction in sequencer works more like<br>
&gt; a &quot;value&quot; color correction than a &quot;lift&quot; (exept that it work on RGB channel<br>
&gt; separately so I think &quot;ofset&quot; is more apropriate then &quot;value&quot;)<br>
&gt;<br>
&gt; Fixing it would be simple but old files that use this parameter will have a<br>
&gt; diferent render result, and after discussing with Matt Ebb on IRC it seems<br>
&gt; that this is not acceptable.<br>
&gt; So the only solution to have a proper color correction in the sequencer is<br>
&gt; to add an &quot;ofset&quot; parameter. Is this OK ? (maybe the UI will get too<br>
&gt; compact)<br>
&gt;<br>
&gt; Further, why do not put this kind of function in an image library so it will<br>
&gt; be accesible form other part of the program (nodes and maybe image editor)<br>
&gt; like the quick blur function in the nodes CMP_util.h<br>
&gt;<br>
&gt; Sorry to disturb, I know lot of you are really buzzy but I prefer to get<br>
&gt; good directions before coding.<br>
&gt;<br>
&gt; Thanks<br>
&gt;<br>
&gt; Xavier<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Bf-committers mailing list<br>
&gt; <a href="mailto:Bf-committers@blender.org">Bf-committers@blender.org</a><br>
&gt; <a href="http://lists.blender.org/mailman/listinfo/bf-committers" target="_blank">http://lists.blender.org/mailman/listinfo/bf-committers</a><br>
&gt;<br>
&gt;<br>
_______________________________________________<br>
Bf-committers mailing list<br>
<a href="mailto:Bf-committers@blender.org">Bf-committers@blender.org</a><br>
<a href="http://lists.blender.org/mailman/listinfo/bf-committers" target="_blank">http://lists.blender.org/mailman/listinfo/bf-committers</a><br>
</blockquote></div><br>