UI:
* First step for buttons context browsing, read-only still. * Drawn in a panel now, though this should become a separate region. * Path of the context is constructed as an array of RNA pointers and then used for drawing and context lookups from python.
This commit is contained in:
@@ -119,7 +119,7 @@ static int panels_re_align(ScrArea *sa, ARegion *ar, Panel **r_pa)
|
||||
SpaceButs *sbuts= sa->spacedata.first;
|
||||
|
||||
if(sbuts->align)
|
||||
if(sbuts->re_align || sbuts->mainbo!=sbuts->mainb || sbuts->tabo!=sbuts->tab[sbuts->mainb])
|
||||
if(sbuts->re_align || sbuts->mainbo!=sbuts->mainb)
|
||||
return 1;
|
||||
}
|
||||
else if(ar->regiontype==RGN_TYPE_UI)
|
||||
|
||||
Reference in New Issue
Block a user