[Bf-cycles] MSVC debug mode BVH fix
Brecht Van Lommel
brechtvanlommel at pandora.be
Mon Apr 30 12:02:35 CEST 2012
Ah, I guess debug adds some extra data into the class to make it no
actually empty. I've committed a different fix, thanks for pointing me
to the issue :)
On Sun, Apr 29, 2012 at 8:36 AM, Agustin Benavidez
<agustinbenavidez at gmail.com> wrote:
> Hi Brecht, after update svn with the recent BVH optimizations, MS VisualC++
> in debug mode was complaining about BoundBox::empty being
> static class member not defined in any source file, throwing
> a unresolved link error.
> I just defined:
> BoundBox::empty_t BoundBox::empty;
> in bvh.cpp and it now works fine. The weird is thing is in release mode it
> doesn't complain about this undefined static member.
> I don't attach a patch because it seems more simple just copy and paste the
> above line in bvh.cpp or in the proper .cpp file.
> Best regards
> Bf-cycles mailing list
> Bf-cycles at blender.org
More information about the Bf-cycles