Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/blendfile.c
| Show First 20 Lines • Show All 641 Lines • ▼ Show 20 Lines | #endif | ||||
| /* Init weight paint range. */ | /* Init weight paint range. */ | ||||
| BKE_colorband_init(&userdef->coba_weight, true); | BKE_colorband_init(&userdef->coba_weight, true); | ||||
| /* Default studio light. */ | /* Default studio light. */ | ||||
| BKE_studiolight_default(userdef->light_param, userdef->light_ambient); | BKE_studiolight_default(userdef->light_param, userdef->light_ambient); | ||||
| BKE_preferences_asset_library_default_add(userdef); | BKE_preferences_asset_library_default_add(userdef); | ||||
| /* Enable asset browser features by default for alpha testing. | |||||
| * BLO_sanitize_experimental_features_userpref_blend() will disable it again for non-alpha | |||||
| * builds. */ | |||||
| userdef->experimental.use_asset_browser = true; | |||||
| return userdef; | return userdef; | ||||
| } | } | ||||
| /** | /** | ||||
| * Only write the userdef in a .blend | * Only write the userdef in a .blend | ||||
| * \return success | * \return success | ||||
| */ | */ | ||||
| ▲ Show 20 Lines • Show All 285 Lines • Show Last 20 Lines | |||||