[Bf-committers] Re: [Bf-blender-cvs] CVS commit: blender/source/blender/src buttons_object.c

Daniel Dunbar evilzr at yahoo.com
Wed Jul 27 01:56:05 CEST 2005


I think this is due to error in having modifiers before
not after decimator (esp since crash is in decimator) code.
I just fixed bug that was causing that, please let me know
if you find any crashes now with modifiers after. (Works
ok here)

--- Campbell Barton <cbarton at metavr.com> wrote:

> Hi Zr, adding any modifiers over the decemator crashes blender atm..
> 
> Program received signal SIGSEGV, Segmentation fault.
> LOD_Edge::operator== (this=0xecff2c0, rhs=@0xbfb860f4)
>     at intern/decimation/intern/LOD_MeshPrimitives.cpp:151
> 151             if (this->m_verts[0] == rhs.m_verts[0]) {
> Current language:  auto; currently c++
> 
> (gdb) bt
> #0  LOD_Edge::operator== (this=0xecff2c0, rhs=@0xbfb860f4)
>     at intern/decimation/intern/LOD_MeshPrimitives.cpp:151
> #1  0x083cc7b1 in LOD_ManMesh2::FindEdge (this=0x0, v1=@0x0, v2=@0xecff2c0)
>     at intern/decimation/intern/LOD_ManMesh2.cpp:276
> #2  0x083cd925 in LOD_ManMesh2::InsertEdge (this=0x83cdcc7, v1=@0x895a090,
>     v2=@0xbfb861d0, f=@0xbfb861c8, new_edges=@0xbfb861b0)
>     at intern/decimation/intern/LOD_ManMesh2.cpp:165
> #3  0x083cdcc7 in LOD_ManMesh2::AddTriangle (this=0x895a090, 
> verts=0x8960b24)
>     at intern/decimation/intern/LOD_ManMesh2.cpp:139
> #4  0x083c94be in LOD_LoadMesh (info=0xbfb862d4)
>     at intern/decimation/intern/LOD_decimation.cpp:93
> #5  0x08362e74 in decimateModifier_applyModifier (md=0x895b814, ob=0x0,
>     derivedData=0x891a344, vertexCos=0x0, useRenderParams=0, isFinalCalc=1)
>     at source/blender/blenkernel/intern/modifier.c:804
> #6  0x08335d81 in mesh_calc_modifiers (ob=0x8919b2c, inputVertexCos=0x0,
>     deform_r=0x8919e10, final_r=0x8919e14, useRenderParams=Variable 
> "useRenderParams" is not available.
> )
>     at source/blender/blenkernel/intern/DerivedMesh.c:1312
> #7  0x08336b92 in mesh_build_data (ob=0x8919b2c)
>     at source/blender/blenkernel/intern/DerivedMesh.c:1499
> #8  0x08336c9b in makeDispListMesh (ob=0x8919b2c)
>     at source/blender/blenkernel/intern/DerivedMesh.c:1539
> #9  0x08381fca in object_handle_update (ob=0x8919b2c)
>     at source/blender/blenkernel/intern/object.c:1806
> ---Type <return> to continue, or q <return> to quit---
> 
> 
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers
> 


daniel dunbar


More information about the Bf-committers mailing list