<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Shaul,<br>
<br>
Sorry about that...<br>
<br>
Here's the link to the patch that has a regression: <br>
<br>
<a class="moz-txt-link-freetext" href="https://projects.blender.org/tracker/?group_id=9&atid=127&func=detail&aid=3760">https://projects.blender.org/tracker/?group_id=9&amp;atid=127&amp;func=detail&amp;aid=3760</a><br>
<br>
I haven't gotten up to speed with Blender's svn support yet (hence my
reference to building from CVS), so I don't know when the fix was
removed yet, so I can't give you a before/after version number.&nbsp; I've
patched my local copy of 2.44's tarball - this bit from do_render in
renderwin.c has changed:<br>
<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if(G.vd-&gt;lay &amp; 0xFF000000) {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; G.scene-&gt;lay |= G.vd-&gt;lay;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; G.scene-&gt;r.scemode |= R_SINGLE_LAYER;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; else G.scene-&gt;lay= G.vd-&gt;lay;<br>
<br>
becomes:<br>
<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if ( G.vd ) {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if(G.vd-&gt;lay &amp; 0xFF000000) {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; G.scene-&gt;lay |= G.vd-&gt;lay;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; G.scene-&gt;r.scemode |= R_SINGLE_LAYER;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; else G.scene-&gt;lay= G.vd-&gt;lay;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>
<br>
This is identical to the change made for patch #3760, and in my initial
testing it works.&nbsp; However, as I said, I haven't gotten up to speed on
building from svn yet, so it'll take some time to put together a patch.<br>
<br>
-- Early Ehlinger, President, ResPower, Inc.<br>
<br>
<br>
Shaul Kedem wrote:
<blockquote
 cite="mid14a1d0380707080755q415cd823rc57b1e8d780bcc6d@mail.gmail.com"
 type="cite">
  <pre wrap="">Hi,
 As an outsider looking at this post I think you will get much more
info by posting links to:
 - your patch
 - the code before and after in svn
 - "cory's script from jan 06"

just my .2 rupi

Shaul

On 7/8/07, Early Ehlinger <a class="moz-txt-link-rfc2396E" href="mailto:early@respower.com">&lt;early@respower.com&gt;</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi All,

I just spent a couple of hours adding Blender_Trace statements (See
Patch 6161) to hunt down a crash in Blender 2.44 for a customer.  It
turns out that G.vd is NULL, and the check for G.vd being NULL was
removed sometime between Jan '06 and Blender 2.44.

My guess is this happened when the following snip was moved from
BIF_do_render to do_render, but that's just a guess:

            if(G.vd-&gt;lay &amp; 0xFF000000) {
                G.scene-&gt;lay |= G.vd-&gt;lay;
                G.scene-&gt;r.scemode |= R_SINGLE_LAYER;
            }
            else G.scene-&gt;lay= G.vd-&gt;lay;

Can anybody else confirm that this is a problem?  I'm waiting for my
customer to give permission to use his .blend file, which reproduces it
every time, but I suspect that Cory's script from Jan'06 will do the
trick, too.

In the meantime, I'll see if I can get current CVS going and submit a
patch against it.

-- ResPower Support
_______________________________________________
Bf-committers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Bf-committers@blender.org">Bf-committers@blender.org</a>
<a class="moz-txt-link-freetext" href="http://lists.blender.org/mailman/listinfo/bf-committers">http://lists.blender.org/mailman/listinfo/bf-committers</a>

    </pre>
  </blockquote>
  <pre wrap=""><!---->_______________________________________________
Bf-committers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Bf-committers@blender.org">Bf-committers@blender.org</a>
<a class="moz-txt-link-freetext" href="http://lists.blender.org/mailman/listinfo/bf-committers">http://lists.blender.org/mailman/listinfo/bf-committers</a>


  </pre>
</blockquote>
<br>
</body>
</html>