[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [57871] trunk/blender/source/blender/ blenkernel/intern/mesh.c: fixed Blender crash, but unclear when this situation can happen

Brecht Van Lommel brechtvanlommel at pandora.be
Sat Jun 29 12:49:05 CEST 2013


Is there any more information you have about this, like a bug report
or a description of when this happens? Now it's adding an XXX comment
but there's no information for someone who might want to fix the
actual bug.

On Sat, Jun 29, 2013 at 10:38 AM, Gaia Clary
<gaia.clary at machinimatrix.org> wrote:
> Revision: 57871
>           http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=57871
> Author:   gaiaclary
> Date:     2013-06-29 08:38:17 +0000 (Sat, 29 Jun 2013)
> Log Message:
> -----------
> fixed Blender crash, but unclear when this situation can happen
>
> Modified Paths:
> --------------
>     trunk/blender/source/blender/blenkernel/intern/mesh.c
>
> Modified: trunk/blender/source/blender/blenkernel/intern/mesh.c
> ===================================================================
> --- trunk/blender/source/blender/blenkernel/intern/mesh.c       2013-06-29 07:00:38 UTC (rev 57870)
> +++ trunk/blender/source/blender/blenkernel/intern/mesh.c       2013-06-29 08:38:17 UTC (rev 57871)
> @@ -3938,7 +3938,10 @@
>  {
>         BLI_assert(ELEM3(type, ME_VSEL, ME_ESEL, ME_FSEL));
>
> -       if (me->totselect) {
> +       /* XXX how can it be that sometimes me->mselect is NULL here ?
> +          It happens, but its not clear why it happens!
> +       */
> +       if (me->totselect && me->mselect) {
>                 if (me->mselect[me->totselect - 1].type == type) {
>                         return me->mselect[me->totselect - 1].index;
>                 }
>
> _______________________________________________
> Bf-blender-cvs mailing list
> Bf-blender-cvs at blender.org
> http://lists.blender.org/mailman/listinfo/bf-blender-cvs


More information about the Bf-committers mailing list