Buttons window "align" is being set to default on files read older than
2.30. This is giving very bad panel layouts now.
This commit is contained in:
Ton Roosendaal
2006-07-04 11:06:00 +00:00
parent 0458c50f63
commit b6984214f0

View File

@@ -4709,7 +4709,8 @@ static void do_versions(FileData *fd, Library *lib, Main *main)
SpaceButs *sbuts= (SpaceButs *) sl;
sbuts->v2d.maxzoom= 1.2f;
sbuts->align= 1; /* horizontal default */
if(sbuts->mainb==BUTS_LAMP) {
sbuts->mainb= CONTEXT_SHADING;
sbuts->tab[CONTEXT_SHADING]= TAB_SHADING_LAMP;