[Bf-committers] UI code question

Jon Shuler bf-committers@blender.org
Tue, 30 Dec 2003 12:56:39 -0800 (PST)


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