[Bf-python] Little (almost new UPDATE) error with 228c

models at paposo.com models at paposo.com
Thu Oct 2 04:21:18 CEST 2003


Yes this is the cause of the crash.  Im not completely sure why though.  It
has something to do with the new_ID allocation for OB_EMPTY combined with
the add_object funtion....

----- Original Message -----
From: "Willian Padovani Germano" <wgermano at ig.com.br>
To: <bf-python at blender.org>
Sent: Wednesday, October 01, 2003 9:34 PM
Subject: Re: [Bf-python] Little (almost new UPDATE) error with 228c


> From: <models at paposo.com>
> > Hah!
> >
> > change
> >     ob = add_object(OB_EMPTY);
> > in PutRaw() to
> >     ob = add_object(OB_MESH);
> >
> > the usercount for the mesh might be zero but we need a mesh object to
link
> > it to not an empty object.
>
> Ah, so that's where the problem is.  I added that so we didn't need to
> create them get rid of a mesh.  I'd still like to keep this, so I'll look
> for a way to solve the problem without changing OB_EMPTY to OB_MESH.  A
> check might be enough.
>
> This is the cause of the crash after an obj is deleted, is that right?
>
> --
> Willian, wgermano at ig.com.br
>
> _______________________________________________
> Bf-python mailing list
> Bf-python at blender.org
> http://www.blender.org/mailman/listinfo/bf-python
>
>




More information about the Bf-python mailing list