<!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>
Thanks for the pointer - I'll have to make a note of it for future
bugs.&nbsp; However, this is when the fix was put in - not when it was
removed.<br>
<br>
It looks like that happened in revision 6654, which has all references
to G.vd removed:<br>
<br>
<a class="moz-txt-link-freetext" href="http://projects.blender.org/plugins/scmsvn/viewcvs.php/trunk/blender/source/blender/src/renderwin.c?root=bf-blender&r1=6491&r2=6654">http://projects.blender.org/plugins/scmsvn/viewcvs.php/trunk/blender/source/blender/src/renderwin.c?root=bf-blender&amp;r1=6491&amp;r2=6654</a><br>
<br>
And when it made its return in revision 6839, it was now unprotected:<br>
<br>
<a class="moz-txt-link-freetext" href="http://projects.blender.org/plugins/scmsvn/viewcvs.php/trunk/blender/source/blender/src/renderwin.c?root=bf-blender&r1=6835&r2=6839">http://projects.blender.org/plugins/scmsvn/viewcvs.php/trunk/blender/source/blender/src/renderwin.c?root=bf-blender&amp;r1=6835&amp;r2=6839</a><br>
<br>
So what's the consensus?&nbsp; Does the test need to be re-added, or is
there a better solution?<br>
<br>
-- Early Ehlinger, President, ResPower, Inc.<br>
<br>
<br>
Shaul Kedem wrote:
<blockquote
 cite="mid14a1d0380707080957l1c4bbb90o9b914500ac510d27@mail.gmail.com"
 type="cite">
  <pre wrap="">Early,
 Check this out:
<a class="moz-txt-link-freetext" href="http://projects.blender.org/plugins/scmsvn/viewcvs.php/trunk/blender/source/blender/src/renderwin.c?root=bf-blender&r1=6219&r2=6491&pathrev=6491">http://projects.blender.org/plugins/scmsvn/viewcvs.php/trunk/blender/source/blender/src/renderwin.c?root=bf-blender&amp;r1=6219&amp;r2=6491&amp;pathrev=6491</a>

Shaul

On 7/8/07, Ton Roosendaal <a class="moz-txt-link-rfc2396E" href="mailto:ton@blender.org">&lt;ton@blender.org&gt;</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi,

Yes that is a good test to add in Blender.

Note that this error only happens in rendering commands within the UI
(not commandline), and with no 3D window present.

(BTW; if this takes you a couple of hours, you might consider to get
help with gdb! NULL pointer errors always pop up as first, without any
effort from developer side...)

-Ton-

On 8 Jul, 2007, at 16:01, Early Ehlinger 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="">------------------------------------------------------------------------
--
Ton Roosendaal  Blender Foundation <a class="moz-txt-link-abbreviated" href="mailto:ton@blender.org">ton@blender.org</a>
<a class="moz-txt-link-freetext" href="http://www.blender.org">http://www.blender.org</a>

_______________________________________________
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>