[Bf-taskforce25] RNA crash

Joshua Leung aligorith at gmail.com
Mon Dec 15 02:32:30 CET 2008


Hi,

You probably need to check for C->scene first, before adding the button. I
wonder if the RNA functions should do any NULL pointer checks or whether
that should all be deferred to the callers...

Regards,
Joshua

On Fri, Dec 12, 2008 at 10:04 PM, Michael Fox <mfoxdogg at gmail.com> wrote:

> Hey all, today i tried using the rna button type but i keep getting a
> crash on pointer creation.
>
> time_header.c line560,
> RNA_id_pointer_create(&RNA_Scene, &C->scene->id, ptr);
>
> crashes on the fist line of that function
> --
> Michael Fox <mfoxdogg at gmail.com>
>
> _______________________________________________
> Bf-taskforce25 mailing list
> Bf-taskforce25 at blender.org
> http://lists.blender.org/mailman/listinfo/bf-taskforce25
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-taskforce25/attachments/20081215/1f5a87af/attachment.htm 


More information about the Bf-taskforce25 mailing list