Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/interface/resources.c
| Show First 20 Lines • Show All 2,629 Lines • ▼ Show 20 Lines | for (btheme = U.themes.first; btheme; btheme = btheme->next) { | ||||
| copy_v4_v4_char(btheme->tclip.metadatatext, btheme->tseq.text_hi); | copy_v4_v4_char(btheme->tclip.metadatatext, btheme->tseq.text_hi); | ||||
| } | } | ||||
| } | } | ||||
| if (!USER_VERSION_ATLEAST(275, 2)) { | if (!USER_VERSION_ATLEAST(275, 2)) { | ||||
| U.ndof_deadzone = 0.1; | U.ndof_deadzone = 0.1; | ||||
| } | } | ||||
| if (U.versionfile < 275 || (U.versionfile == 275 && U.subversionfile < 3)) { | |||||
| bTheme *btheme; | |||||
| /* interface_widgets.c */ | |||||
| struct uiWidgetColors wcol_tab = { | |||||
| {255, 255, 255, 255}, | |||||
| {83, 83, 83, 255}, | |||||
| {114, 114, 114, 255}, | |||||
| {90, 90, 90, 255}, | |||||
| {0, 0, 0, 255}, | |||||
| {0, 0, 0, 255}, | |||||
| 0, | |||||
| 0, 0 | |||||
| }; | |||||
| for (btheme = U.themes.first; btheme; btheme = btheme->next) { | |||||
| btheme->tui.wcol_tab = wcol_tab; | |||||
| } | |||||
| } | |||||
| if (U.pixelsize == 0.0f) | if (U.pixelsize == 0.0f) | ||||
| U.pixelsize = 1.0f; | U.pixelsize = 1.0f; | ||||
| if (U.image_draw_method == 0) | if (U.image_draw_method == 0) | ||||
| U.image_draw_method = IMAGE_DRAW_METHOD_2DTEXTURE; | U.image_draw_method = IMAGE_DRAW_METHOD_2DTEXTURE; | ||||
| /* funny name, but it is GE stuff, moves userdef stuff to engine */ | /* funny name, but it is GE stuff, moves userdef stuff to engine */ | ||||
| // XXX space_set_commmandline_options(); | // XXX space_set_commmandline_options(); | ||||
| /* this timer uses U */ | /* this timer uses U */ | ||||
| // XXX reset_autosave(); | // XXX reset_autosave(); | ||||
| } | } | ||||