[Bf-committers] UI code question

Ton Roosendaal bf-committers@blender.org
Wed, 31 Dec 2003 12:21:55 +0100


Hi,

Ahh! Just bad code, I put it on my list to fix nicely. Thanks,

-Ton-

On Tuesday, Dec 30, 2003, at 21:56 Europe/Amsterdam, Jon Shuler wrote:

> I was looking into bug 828
> (http://projects.blender.org/tracker/ 
> index.php?func=detail&aid=828&group_id=9&atid=125)
> and I found the problem but needed some help from
> someone familiar with the UI code.
>
> The problem is in view3d_panel_background. The method
> IDnames_to_pupstring is called passing the address of
> G.buts->menunr but G.buts is NULL.  The crash happens
> when IDnames_to_dyn_pupstring tries to use this
> pointer.
>
> It looks like that G.buts should be set in areawinset
> but the spacetype is always SPACE_VIEW3D and
> SPACE_INFO and never SPACE_BUTS.
>
> I hope this makes cents...
>
> Jon
>
> __________________________________
> Do you Yahoo!?
> Find out what made the Top Yahoo! Searches of 2003
> http://search.yahoo.com/top2003
> _______________________________________________
> Bf-committers mailing list
> Bf-committers@blender.org
> http://www.blender.org/mailman/listinfo/bf-committers
>
>
------------------------------------------------------------------------ 
--
Ton Roosendaal  Blender Foundation ton@blender.org  
http://www.blender.org