[Bf-committers] bmesh BMO_ITER on edges usage?

joe joeedh at gmail.com
Mon Aug 24 07:18:43 CEST 2009


It shold be BMOIter e_iter, not *e_iter;

All iterators in bmesh make use of stack variables to hold the iteration state.

Joe

On Sun, Aug 23, 2009 at 12:15 PM, Wael EL ORAIBY<wael.eloraiby at gmail.com> wrote:
> Hi,
>
> So now that similar face selection is working, I started working on
> similar edges selection, however, there is a problem, using the
> following makes the bmesh blender branch crash with a segmentation
> fault:
>
> BMOIter         *e_iter;
> BMEdge          *e;
>
> BMO_ITER(e, &e_iter, bm, op, "edges", BM_EDGE) {
>
> }
>
> this code should iterate through all the edges in the slot "edges",
> the similar one worked well on faces, what is wrong using it with
> edges ?
>
> --
> Wael El Oraiby
> Laboratoire MIA
> Université de Haute Alsace
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>


More information about the Bf-committers mailing list