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

Willian Padovani Germano wgermano at ig.com.br
Thu Oct 2 03:34:34 CEST 2003


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




More information about the Bf-python mailing list