Changeset View
Changeset View
Standalone View
Standalone View
release/datafiles/userdef/userdef_default.c
| /* SPDX-License-Identifier: GPL-2.0-or-later */ | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||||
| /* Preferences Data File 'U_default'. */ | /* Preferences Data File 'U_default'. */ | ||||
| /* For constants. */ | /* For constants. */ | ||||
| #include "BLI_math_base.h" | #include "BLI_math_base.h" | ||||
| #include "DNA_anim_types.h" | #include "DNA_anim_types.h" | ||||
| #include "DNA_curve_types.h" | #include "DNA_curve_types.h" | ||||
| #include "DNA_space_types.h" | #include "DNA_space_types.h" | ||||
| #include "DNA_userdef_types.h" | #include "DNA_userdef_types.h" | ||||
| #include "BLI_math_rotation.h" | #include "BLI_math_rotation.h" | ||||
| #include "BKE_blender_version.h" | #include "BKE_blender_version.h" | ||||
| #include "GPU_platform.h" | |||||
| #include "BLO_readfile.h" /* own include */ | #include "BLO_readfile.h" /* own include */ | ||||
| const UserDef U_default = { | const UserDef U_default = { | ||||
| .versionfile = BLENDER_FILE_VERSION, | .versionfile = BLENDER_FILE_VERSION, | ||||
| .subversionfile = BLENDER_FILE_SUBVERSION, | .subversionfile = BLENDER_FILE_SUBVERSION, | ||||
| .flag = (USER_AUTOSAVE | USER_TOOLTIPS | USER_RELPATHS | USER_RELEASECONFIRM | | .flag = (USER_AUTOSAVE | USER_TOOLTIPS | USER_RELPATHS | USER_RELEASECONFIRM | | ||||
| USER_SCRIPT_AUTOEXEC_DISABLE | USER_NONEGFRAMES), | USER_SCRIPT_AUTOEXEC_DISABLE | USER_NONEGFRAMES), | ||||
| .dupflag = USER_DUP_MESH | USER_DUP_CURVE | USER_DUP_SURF | USER_DUP_LATTICE | USER_DUP_FONT | | .dupflag = USER_DUP_MESH | USER_DUP_CURVE | USER_DUP_SURF | USER_DUP_LATTICE | USER_DUP_FONT | | ||||
| ▲ Show 20 Lines • Show All 69 Lines • ▼ Show 20 Lines | const UserDef U_default = { | ||||
| .keyconfigstr = "Blender", | .keyconfigstr = "Blender", | ||||
| .undosteps = 32, | .undosteps = 32, | ||||
| .undomemory = 0, | .undomemory = 0, | ||||
| .gp_manhattandist = 1, | .gp_manhattandist = 1, | ||||
| .gp_euclideandist = 2, | .gp_euclideandist = 2, | ||||
| .gp_eraser = 25, | .gp_eraser = 25, | ||||
| .gp_settings = 0, | .gp_settings = 0, | ||||
| .gpu_backend = GPU_BACKEND_OPENGL, | |||||
| /** Initialized by: #BKE_studiolight_default. */ | /** Initialized by: #BKE_studiolight_default. */ | ||||
| .light_param = {{0}}, | .light_param = {{0}}, | ||||
| .light_ambient = {0, 0, 0}, | .light_ambient = {0, 0, 0}, | ||||
| .gizmo_flag = USER_GIZMO_DRAW, | .gizmo_flag = USER_GIZMO_DRAW, | ||||
| .gizmo_size = 75, | .gizmo_size = 75, | ||||
| .gizmo_size_navigate_v3d = 80, | .gizmo_size_navigate_v3d = 80, | ||||
| ▲ Show 20 Lines • Show All 117 Lines • Show Last 20 Lines | |||||