}
}
- {
+ if (bmain->versionfile < 260 || (bmain->versionfile == 260 && bmain->subversionfile < 3)) {
bTheme *btheme;
+
for(btheme= U.themes.first; btheme; btheme= btheme->next) {
if(btheme->tv3d.bundle_solid[3] == 0)
SETCOL(btheme->tv3d.bundle_solid, 200, 200, 200, 255);
btheme->tclip.handle_vertex_size= 4;
}
}
+
+ /* enable addon by default */
+ if(!BLI_findstring(&U.addons, "cycles", offsetof(bAddon, module))) {
+ bAddon *baddon= MEM_callocN(sizeof(bAddon), "bAddon");
+ BLI_strncpy(baddon->module, "cycles", sizeof(baddon->module));
+ BLI_addtail(&U.addons, baddon);
+ }
}
/* GL Texture Garbage Collection (variable abused above!) */